|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Can someone help with a parse error
Parse error: parse error, unexpected T_DNUMBER in /home/www/ultimatepvp.100webspace.net/mainfile.php on line 33
i am recieving this error when going to my site however my coding seems right $mainfile = 1; mysql_connect($mysql1.100ws.com, $my username, $my pass); @mysql_select_db("$nuke") or die ("Unable to select database"); can someone please help? |
|
#2
|
|||
|
|||
|
Dots and spaces in variable names are forbidden
Quote:
And there's no need to enclose $nuke in quotes Last edited by NetSurfer : March 13th, 2008 at 01:17 PM. |
|
#3
|
||||
|
||||
|
Quote:
I believe the actual error is to do with the server field in mysql_connect() You currently have PHP Code:
you need something like this: PHP Code:
__________________
Ubuntu User #13389 |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > Can someone help with a parse error |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|