Log in

View Full Version : Stupid Parse error


TeamDevotion
05-10-2007, 05:02 PM
So i took the vbgarage php script and xml file, and i want to have two seperate vbgarages on my forum, but when uploading it tells me some of the tables in the database already exists. So i say fine,

I open up the xml file and change anything with vbg to 1320g, and it uploads fine, because i gave these tables new names, so i go to do the same in the php file, but when i upload the php file

i get this error when viewing

Parse error: parse error, unexpected T_LNUMBER, expecting T_STRING in /home/teamdevo/public_html/restricted/testvb/1320garage.php on line 84

WetWired
05-10-2007, 06:14 PM
Variables probably can't start with numbers. I know they can't in many other languages. Try replacing with something that starts with a letter.

TeamDevotion
05-11-2007, 02:23 AM
Thanks for the insite, html is the only real language i know and since it doesn't use variables or call functions... i'm learning from mistakes.