Posted by Marc on 10/13/68 11:27
Tim Streater wrote:
>>//now we make the query which will ask the database for the course
>>information
>>//change the my_table to your course table name
>>Still getting this error:
>>
>>Parse error: syntax error, unexpected T_VARIABLE in c:\wamp\www\Untitled.php
>>on line 20
>>
>>but I can't see anything wrong with that line??
> There's nothing wrong syntactically with line 20. Its line 17 that's the
> problem. What's PHP supposed to do with the word "information" sitting
> there all by itself?
Heh, I assumed this was where the line had been chopped in pasting it
into an email, but now that I think about it, it could well be like that
in the PHP - be sure to move that word back onto the previous line or
give it it's own // plato! :)
Marc
[Back to original message]
|