View Single Post
  #1 (permalink)  
Old 07-21-2007, 03:08 PM
flyingbono flyingbono is offline
Junior Member
 
Join Date: Jul 2007
Posts: 3
Default [RESOLVED] SQL Statement and the "?" character...

Hi,

I'm trying to run the folowing query, without success. Evertime the "?" in the query is replaced (quoted) by the "'" character and a get a wrong record value in database :

PHP Code:
$sql "UPDATE table SET col = 'Are you fine?' WHERE 1";
$db -> query$sql ); 
Col contains : Are you fine '

Any idea ???

Last edited by flyingbono : 07-25-2007 at 08:41 AM.
Reply With Quote