Page 1 of 1

What is the significance of '%s' in PHP & MySQL

Posted: Fri Aug 03, 2007 6:24 am
by dream2rule
Hello Friends,

I would like to know the significance of '%s' while using PHP-MySQL.

Regards

Posted: Fri Aug 03, 2007 8:00 am
by vigge89
Significance? %s is used in the $format parameter for the common printf()/sprintf() function in PHP to insert a string presentation of a value passed to the function.
If you're talking about the use of %s when using PHP combined with MySQL I dunno what to answer.