Raised This Month: $ Target: $400
 0% 

SQL syntax


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 07-15-2007 , 17:40   Re: SQL syntax
Reply With Quote #3

SixTwin that's not the answer and you don't have to use format.
PHP Code:
 dbi_query(dbc"INSERT INTO %s (%s) VALUES ('%d')"table_namecolumn_namevalue
krekers try :
PHP Code:
 dbi_query(dbc"INSERT INTO table (blah) VALUES ('variable')"
replace variable with formatting code
__________________
Impossible is Nothing
Sylwester is offline
 



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 21:35.


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