Bill Karwin wrote:

Jason Webster wrote:
Won't this escape the wildcard character, and offer it as a literal?


Nope.  The quote() function only quotes things that may terminate the string
literal, such as ', ", \0, etc.
You can try it yourself to be sure:
  print $db->quote("%some'stuff%") . "\n";
  // Output: '%some\'stuff%'
That's not necessary. I believe you. I was more curious if it would, rather than attempting to point out an error.

Reply via email to