Mar 15, 2004 #1 knuckle05 Programmer Joined Dec 17, 2001 Messages 247 Location CA Hi All, I'm looking at some example code on the php.net website trying to learn the language. What does this mean? printf("ID: %s Name: %s" ...... What do the %s chars evaluate to? Thx!
Hi All, I'm looking at some example code on the php.net website trying to learn the language. What does this mean? printf("ID: %s Name: %s" ...... What do the %s chars evaluate to? Thx!
Mar 15, 2004 #2 sleipnir214 Programmer Joined May 6, 2002 Messages 15,350 Location US That is documented in detail on the PHP online manual page on sprintf() Want the best answers? Ask the best questions! TANSTAAFL!! Upvote 0 Downvote
That is documented in detail on the PHP online manual page on sprintf() Want the best answers? Ask the best questions! TANSTAAFL!!
Mar 15, 2004 #3 Foamcow Programmer Joined Nov 14, 2002 Messages 6,092 Location GB it means the argument is treated as a string. http://www.php.net/printf http://www.php.net/sprintf Upvote 0 Downvote
Mar 15, 2004 #4 Foamcow Programmer Joined Nov 14, 2002 Messages 6,092 Location GB damn simultaneous posts Upvote 0 Downvote