|
-
Mar 25th, 2009, 05:42 PM
#1
Thread Starter
Hyperactive Member
[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 
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.
-
Mar 25th, 2009, 06:35 PM
#2
Re: Probably a very stupid question
yes, it does require the line to be terminated with a semi-colon.
-
Mar 25th, 2009, 06:40 PM
#3
Thread Starter
Hyperactive Member
Re: Probably a very stupid question
 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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|