[nycphp-talk] Bizarro Bug -- AHA!!!!!!!
Daniel Convissor
danielc at analysisandsolutions.com
Wed Apr 2 11:41:54 EDT 2008
On Wed, Apr 02, 2008 at 08:35:52AM -0700, Kristina Anderson wrote:
> What were we saying about how sometimes when we post to the list, we
> see what the problem is??????
>
> In this case the problem is that I'm a MORON!!! I was calling $query1
> twice instead of calling $query2 in the second case....!!!
>
> $result2 = mysql_query($query1)
Glad you figured it out.
Let me emphasize what was said in my prior email:
You need to use your own function for running the SQL rather than calling
mysql_query() directly throughout the code. Then your central function
can have a logging/debugging option.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
More information about the talk
mailing list