[PHP] Displaying value different from actual value

2002-09-11 Thread Dave Rosenberg
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 has.

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

Re: [PHP] Displaying value different from actual value

2002-09-11 Thread Dave Rosenberg
Thanks Jay. How would that work into something like: printf(bTotal Budget:/b $%sbr\n, mysql_result($result,0,budget)); or printf(trtd%s/tdtd%s/tdtd%s/tdtd%s/tdtd%s/tdtd%s/tdtd%s/td/trtr\n, $myrow[0], $myrow[0], $myrow[4], $myrow[8], $myrow[9], $myrow[7], $myrow[10]); Thanks, Dave Jay

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(bTotal Budget:/b $%sbr\n, mysql_result($result,0,budget)); or printf(trtd%s/tdtd%s/tdtd%s/tdtd%s/tdtd%s/tdtd%s/t dtd%s/td/trtr\n, $myrow[0], $myrow[0], $myrow[4], $myrow[8], $myrow[9], $myrow[7], $myrow[10]); [/snip] You

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