RE: [PHP] Displaying value different from actual value

From: Date: Wed, 11 Sep 2002 14:24:23 +0000
Subject: RE: [PHP] Displaying value different from actual value
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-115988@lists.php.net to get a copy of this message
[snip] Thanks Jay. How would that work into something like: printf("<b>Total Budget:</b> $%s<br>\n", mysql_result($result,0,"budget")); or printf("<tr><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</t d><td>%s</td></tr><tr>\n", $myrow[0], $myrow[0], $myrow[4], $myrow[8], $myrow[9], $myrow[7], $myrow[10]); [/snip] You have to do the test prior to the output, checking the value of $myrow[n] that represents the contract value. I would have to see more of your code to see where to implement the test. HTH! Peace ... Jay ***************************************************** * Texas PHP Developers Conf Spring 2003 * * T Bar M Resort & Conference Center * * New Braunfels, Texas * * Contact jay.blanchard@niicommunications.com * * * * Want to present a paper or workshop? Contact now! * *****************************************************

« previous php.general (#115988) next »