View Single Post
Old 03-26-2009, 05:09 PM   #6 (permalink)
stewart
WebDev'n Beer Drnkn' Fool
 
stewart's Avatar
 
Join Date: Dec 2007
Location: Denver, CO
Posts: 59
Thanks: 2
stewart is on a distinguished road
Default

Code:
mysql_query( "SELECT `salt` FROM `users` WHERE `username`='beezm';" , self::getLink() ) or die(mysql_error());
O_O

It's making me want to bash my head in >.< lol

I will go ahead and add.. This is technically part of a larger class that dynamically builds my query. But since I couldn't get it working, I've just gone all the way down to my actual mysql_query function to see what's going on. And that simple line above just won't work, it keeps spitting out the error I posted.
But like I said, when I put the same query directly into phpMyAdmin it works fine. Next step is to make a stand alone script to try to same thing I guess :S

But I just don't get it :(
__________________
stewart::howe
Web Developer & Programmer
CelerMedia.Com | iAmStewart.com | CelerLabs.com
Send a message via ICQ to stewart Send a message via AIM to stewart Send a message via MSN to stewart Send a message via Yahoo to stewart
stewart is offline  
Reply With Quote