![]() |
DB Query question
PHP Code:
It is causing me this error if it helps: Call to a member function on a non-object |
Code:
$users = $db->query_read(" |
Thanks amy.
Now I just have one small problem: Parse error: parse error, unexpected $ on line 152 Line 152 is: PHP Code:
|
What is before that line?
|
Just an empty line.
|
And furthur back.
|
PHP Code:
|
post the last 15 lines. its generally a typo before the line that php says.
|
PHP Code:
Thanks. |
There is nothing wrong with that code.
I suggest you look at what you've recently changed. It will generally be an extra { or } bracket. |
Only thing i really changed was the DB queries and such from $DB to $db.
I see 2 backets in my code above. Should I try replacing them with an empty line? Thanks for the quick responses. ;) |
What editor did you use?
Check you don't have any extra characters after the ?> (also no spaces) |
I use crimsion editor. I do not see any spaces or charechters after the ?>
Do you recomend a diffrent editor? I have not had the time to try removing the { and } brackets as Merk said. |
All times are GMT. The time now is 02:11 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:
|