View Full Version : DB_site-> query
meowmeow
05-18-2004, 01:54 PM
in functions.php
if I do "DB_site-> myquery" I get an "unknown function"error!
Where do I have to go to get VB to do myquery???
assassingod
05-18-2004, 01:58 PM
To properly use $DB_site, the code is:
$DB_site->query("YOUR QUERY HERE");
meowmeow
05-18-2004, 02:08 PM
I do that.
the full text of what i wrote is:
if($userid == $DB_site->myquery("SELECT userid FROM user WHERE userid = ".$userid))
and that gives me the error: "Call to undefined function: myquery() "
assassingod
05-18-2004, 02:17 PM
replace myquery with query :)
meowmeow
05-18-2004, 02:50 PM
ok now it works, but the site goes all weird!!
it logs in... aah cant explain it! go have a look at
http://forum2.supereva.it/index.php?
see what I mean?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.