[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 [EMAIL PROTECTED] *
* *
* Want to present a paper or workshop? Contact now! *
*****************************************************
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php