How to retrieve values from Database

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
swamyt
Forum Newbie
Posts: 5
Joined: Tue Oct 14, 2008 4:18 am

How to retrieve values from Database

Post by swamyt »

Hello ,

How to retrieve values from database without whileloop

Thanks
Swamy
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: How to retrieve values from Database

Post by aceconcepts »

Code: Select all

 
$result=mysql_query("SELCECT blah blah blah");
$row=mysql_fetch_array($result);
 
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: How to retrieve values from Database

Post by califdon »

swamyt wrote:Hello ,

How to retrieve values from database without whileloop

Thanks
Swamy
Please explain what you want to do.
Post Reply