Log in

View Full Version : Date problem with mysql


kevin
April 23rd, 2005, 10:12 PM
UGH! blah bleh!


$fullt = $DB_site->query("SELECT fulltime FROM namechange WHERE userid = '" . $bbuserinfo['userid'] . "'");


Somehow that's not fetching the date! The column that holds the date is fulltime and I match the user ids. But all I get is http://forums.teenstoteens.com/name.php!

Kiros
April 23rd, 2005, 10:45 PM
ahhh... somehow, that reminds me so much of classic SQL injections... LOVE EM! :D

okok, anyway, are u sure that your $DB_site-> is correct? I just dont remember the -> in SQL coding :? are u trying to get the DB_site to query with those attributes?

kevin
April 23rd, 2005, 11:13 PM
ahhh... somehow, that reminds me so much of classic SQL injections... LOVE EM! :D

okok, anyway, are u sure that your $DB_site-> is correct? I just dont remember the -> in SQL coding :? are u trying to get the DB_site to query with those attributes?

Well it's in vbulletin. $DB_site-> stands for mysql_

Kiros
April 23rd, 2005, 11:15 PM
oooooooooo heh, sorry, i didnt know that u were running in vBulletin scripting. though I kinda gathered that the $DB has something to do with the database :P