Re: [PHP] retrieve single field from database without while loop

2005-02-16 Thread Tom Rogers
Hi, Wednesday, February 16, 2005, 9:48:41 PM, you wrote: rac> Is there a way to retrieve and display a single value (customer number) from rac> a database and display it without using rac> while ($row = mysql_fetch_array) ($result)){ rac> I have a value I know the query will only ever return a

RE: [PHP] retrieve single field from database without while loop

2005-02-16 Thread Jay Blanchard
[snip] Is there a way to retrieve and display a single value (customer number) from a database and display it without using while ($row = mysql_fetch_array) ($result)){ I have a value I know the query will only ever return a single value. I want to get it from the database and convert it to a

[PHP] retrieve single field from database without while loop

2005-02-16 Thread ross
Is there a way to retrieve and display a single value (customer number) from a database and display it without using while ($row = mysql_fetch_array) ($result)){ I have a value I know the query will only ever return a single value. I want to get it from the database and convert it to a variabl