![]() |
unexpected $end -- Please Help
Hi All,
I was testing some of my code and I got an unexpected error. It is: Parse error: syntax error, unexpected $end in /home/penguink/public_html/dev/profilesys/update.php on line 9 And here is my code: Code:
<?php - Pc1203 ALSO: This is development code. |
PHP Code:
In the query you don't need the . " before the closing bracket |
Ok, Thanks. lol XD
- Pc1203 EDIT: Now i'm getting: Fatal error: Call to a member function query() on a non-object in /home/penguink/public_html/dev/profilesys/update.php on line 4 And line 4 is: PHP Code:
|
I don't know if you can use query() maybe use query_write() instead. Also you have included vBulletin's global.php?
|
XD. I forgot the global.php. Thanks! Anyway I included it and I get a database error. Here it is:
>> Removed << - Pc1203 EDIT: Fixed! I forgot that the userfield table has a prefix of vB_ |
All times are GMT. The time now is 11:06 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|