PassMark Logo
Home » Forum

Indexing databases - unexpected T_VARIABLE

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • team83
    Junior Member
    • Oct 2007
    • 3

    #1

    Indexing databases - unexpected T_VARIABLE

    Hi,

    When i indexed my offline site, i found out it didnt index the database records. so I've tried the following links example:
    http://www.wrensoft.com/zoom/support/databases.html

    but there is an error saying "Parse error: syntax error, unexpected T_VARIABLE in C:\Apache2\htdocs\artnotes\details.php on line 18"

    where i believe it got to do with the $_GET['ID']..but still im not sure how to solve it..

    can you help me on that...?

    thanks
  • Ray
    Administrator
    • Dec 2004
    • 4357

    #2
    Looks like there was a typo in our example script there. Sorry about that!

    Line #9 should be the following instead (it was missing the last close parenthesis at the end of the line):

    if (isset($_GET['ID']))
    We will update our support page and fix this accordingly.
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment

    Working...