Forum Moderators: coopster

Message Too Old, No Replies

One row result database query

Brain cramp

         

johnnydequino

11:47 pm on Sep 16, 2004 (gmt 0)

10+ Year Member



Most of the pages I write are multi-row queries. I have about 30 pages that will only yield one row of about 15 columns. What is the best way to design this page?

Right now, I am using $row = mysql_fetch_object($results) - this is causing a minor issue with positive/negative signs with numbers.

Any help appreciated - thanks all -

jd

Zipper

12:43 am on Sep 17, 2004 (gmt 0)

10+ Year Member



try these,

mysql_fetch_row [php.net]
mysql_result [php.net]

coopster

12:07 pm on Sep 17, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member




$row = mysql_fetch_object($results) - this is causing a minor issue with positive/negative signs with numbers

How so? I mean, what is the issue?

<edit>
Wait a minute, I think I found what you are describing...
Multiple Negative numbers on a page [webmasterworld.com]
</edit>