[RESOLVED] Probably a very stupid question
Not even sure if I should ask this as the PHP gods may get angry.
A global declaration line in a function:
Code:
global $qid, $qtitle, $qdesc, $qno, $cquestion
Does this require a semi-colon at the end of the line like other lines of php script :sick:
Before anyone asks, was given a print out via email to see if I could spot one of those "T" errors and that was the first thing that came to mind. Don't have php installed on this lappie.
Re: Probably a very stupid question
yes, it does require the line to be terminated with a semi-colon.
Re: Probably a very stupid question
Quote:
Originally Posted by
kows
yes, it does require the line to be terminated with a semi-colon.
Thanks dude, more simply questions coming I'm sure. Have spotted a few other things wrong with the script myself so hate to think what else is going down there.