![]() |
|
#1
|
|||
|
|||
T_VARIABLE whats that???hi i have just made a php script for a members only area and user login and register. In php with a mysql database but everytime i upload the page it comes up with Parse error: parse error, unexpected T_VARIABLE in /home/habglobe/public_html/newmember.php on line 12 this is the script i am useing
Code:
Last edited by JdS : 25-Oct-2005 at 05:23.
Reason: Please insert your Php code between [php] & [/php] tags
|
|
#2
|
||||
|
||||
Re: T_VARIABLE whats that???Hello djd@n,
There are errors on this line: PHP Code:
You should be comparing (==), not assigning (=)... and you missed including an or in there between the test expressions. PHP Code:
Also, notice the apostrophe inside this line? INSERT INTO user (username, password, joindate, email')... __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#3
|
|||
|
|||
Re: T_VARIABLE whats that???i have done all that but now it comes up eith the same but on line 14
|
|
#4
|
||||
|
||||
Re: T_VARIABLE whats that???Please post the code you have now...
__________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#5
|
|||
|
|||
Re: T_VARIABLE whats that???PHP Code:
|
Recent GIDBlog
A Week in Kuwait by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The