Parse error: parse error, unexpected $ in /home/content/d/o/m/domain/html/addpuppy2.p
Hi I'm new to PHP and I'm building a site for my Mom. I am trying to insert data into the database but I keep getting this error.
Parse error: parse error, unexpected $ in /home/content/d/o/m/domain/html/addpuppy2.php on line 29 I think I have something wrong with my coding (wouldn't be suprised) and I would greatly appreciate if you could help me. Here's the page's coding. PHP Code:
|
For starters, you need to put semicolons ( ; ) at the end of ALL your php commands. That includes the echo $title commands as well as your mysql_close() command
|
Well, I'm confused, because it still doesn't work. Umm... I made the original script when I hosted my domain with hostgator and I recently switched to Godaddy and the script worked with hostgator so I copied it and edited it to make it work with the new form, but I can't get it to go through. Is there as special thing that I have to do to get it to work with Godaddy?
|
Here's the updated code.
PHP Code:
|
All times are GMT -5. The time now is 01:53 AM. |