You are here: retrieve single field from database without while loop « PHP « IT news, forums, messages
retrieve single field from database without while loop

Posted by ross on 09/29/21 11:08

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 variable so I can use it on
my php page.


Thanks in advance,

Ross

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация