HELP!!!
i have big problem with demos.php on my website...When i put everything and make settings right and then i open site click on demos .. and have this error Fatal error: Call to undefined function: dbquery() in /home/hosting/website/web/demos.php on line 33
And then i open with notepad demos.php in line 33 see this $result = dbquery("SELECT * FROM demos ORDER BY ID ASC, map ASC , map ASC");
how to make right to working .. please help me.
P.S. VERRY sorry for my bad english :( :(
I am not good on php, yet. But i might give a suggestion?
Test to only have one "map ASC" in the query.
I don't know php coding at all.. but:
"Call to undefined function: dbquery() in /home/hosting/website/web/demos.php on line 33 "
Does clearly say that there doesn't exist a function called 'dbquery()'
and this :"dbquery("SELECT * FROM demos ORDER BY ID ASC, map ASC , map ASC"); "
calls that function that apperantly doesn't exist so it makes an error. Maybe it does exist but you've provided it with more parameters than it actually have (like f1ay3r said).
Or you don't have a funtion called dbquery? :D
Edit: Search for dbquery and see what it takes for parameters and then edit that line to fit it
[ Edited Mon Feb 26 2007, 12:40AM ]
e107 uses it's own mysql query function called db_Query(). If you're not using e107, use mysql_query().
You should ask the person you got the script from for the dbquery function.
i use e107
I don't know php coding at all.. but:
"Call to undefined function: dbquery() in /home/hosting/website/web/demos.php on line 33 "
Does clearly say that there doesn't exist a function called 'dbquery()'
and this :"dbquery("SELECT * FROM demos ORDER BY ID ASC, map ASC , map ASC"); "
calls that function that apperantly doesn't exist so it makes an error. Maybe it does exist but you've provided it with more parameters than it actually have (like f1ay3r said).
Or you don't have a funtion called dbquery? :D
Edit: Search for dbquery and see what it takes for parameters and then edit that line to fit it
I find in this line that: $result = dbquery("SELECT * FROM demos ORDER BY ID ASC, map ASC, map ASC");
i can paste full php file code if somebody want see and help me ...
that thered now can be closed cuz i'm rdy :) All workin normal
thanks to all
Please log in to post replies.