Raised This Month: $ Target: $400
 0% 

Help with the new dbi...


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Zor
Veteran Member
Join Date: Mar 2004
Location: Toronto, ON
Old 09-27-2004 , 20:31  
Reply With Quote #8

Ok. Just figured it out. Ok:

Code:
// save the users userid dbi_nextrow(theResult) new aid = dbi_result(theResult, "id") dbi_free_result(theResult)

The way you had it you were passing the SQL reference to it not the RESULT. I fixed it here. I also changed it to dbi_result instead of dbi_field this is better I think. That way you are referencing the exact variable.

Cheers!
__________________
Zor is offline
Send a message via AIM to Zor Send a message via MSN to Zor Send a message via Yahoo to Zor
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:21.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode