Raised This Month: $ Target: $400
 0% 

MySQL query failing if ' key is used [SOLVED]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
raa
Senior Member
Join Date: Oct 2005
Old 06-30-2007 , 14:35   Re: MySQL query failing if ' key is used
Reply With Quote #3

well yeah..

Code:
"INSERT INTO `%s` (authid, name, date) values('%s','%s',NOW()).................

so what its finally being read as is some incorrect statement and/or syntax



does anyone know for SURE if the code can be changed to(ie. take the ' symbols out)
Code:
"INSERT INTO `%s` (authid, name, date) values(%s,%s,NOW()).................
???

Or does some Trim function need to be setup?
__________________

Last edited by raa; 06-30-2007 at 14:38.
raa 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:26.


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