Posted by news.cogeco.ca on 08/20/06 13:36
Here is my code below and I am currently have php version 4.4.4 installed. $SQL="Select field1 from table where field1 like '%%%1\$s%%'"; $Str='Bob'; sprintf($SQL, $Str); The sprintf doesn't like the %% double percent signs to use it in a like statment any ideas? Thanks...
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming