mysql question

From: Date: Thu, 22 Jun 2000 00:59:01 +0000
Subject: mysql question
Groups: php.db php.general 
Request: Send a blank email to php-db+get-566@lists.php.net to get a copy of this message
I am doing one of the programming problems in Professional PHP Programming and there is one snipet I have come across that I do not understand. It's a function call. displayErrMsg(sprintf("error: %d %s", mysql_errno($link), mysql_error($link)) What is the difference between the %d and the %s, and do those particular characters have to be used when referring to something in the sprintf() function? Thanks in advance, Chris ___________________________ got sano? (new design!) http://www.rit.edu/~cms0670

« previous php.db (#566) next »