Re: [PHP] Displaying value different from actual value

2002-09-11 Thread Zak Greant
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On September 11, 2002 07:57, Dave Rosenberg wrote: > I'm not sure this is possible, but here's what I'd like to do: > I know that in order for a set of records from MySQL to display in > numerical order on a web page, you need to make the column type

RE: [PHP] Displaying value different from actual value

2002-09-11 Thread Jay Blanchard
[snip] Thanks Jay. How would that work into something like: printf("Total Budget: $%s\n", mysql_result($result,0,"budget")); or printf("%s%s%s%s%s%s%s\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, chec

Re: [PHP] Displaying value different from actual value

2002-09-11 Thread Dave Rosenberg
Thanks Jay. How would that work into something like: printf("Total Budget: $%s\n", mysql_result($result,0,"budget")); or printf("%s%s%s%s%s%s%s\n", $myrow[0], $myrow[0], $myrow[4], $myrow[8], $myrow[9], $myrow[7], $myrow[10]); Thanks, Dave Jay Blanchard wrote: > [snip] > I'm not sure th

RE: [PHP] Displaying value different from actual value

2002-09-11 Thread Jay Blanchard
[snip] I'm not sure this is possible, but here's what I'd like to do: I know that in order for a set of records from MySQL to display in numerical order on a web page, you need to make the column type "Integer," but here's my situation: I'm creating a database of contracts that my organization ha