|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
parse error unexpected $
just started trying to make a registration script, pretty new to this so dont really know what im doing, any help would be apreaciated thanks. Keeps coming up with
Parse error: parse error, unexpected $ in XX/register.php on line 26 PHP Code:
|
|
#2
|
|||
|
|||
|
Which is line 26?
__________________
"A pawn is the most important piece on the chessboard -- to a pawn" |
|
#3
|
|||
|
|||
|
Quote:
last line with the PHP Code:
|
|
#4
|
|||
|
|||
|
You've got some funny quotes closing your INSERT statement line that may be the problem -- try changing them to a normal ".
|
|
#5
|
|||
|
|||
|
Thanks that helped alot..
is there any problems with the syntax aswell because that seems to be a problem now.. on line 6 being the PHP Code:
and onwards beni |
|
#6
|
|||
|
|||
|
You're missing a closing parentheses at the end of your create statement.
You shouldn't have the create statement in there anyway, though -- you'll only be able to run the script once; you'll get a 'table already exists' error thereafter. |
![]() |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > parse error unexpected $ |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|