Ok
Let's say I'm querying a table, and looping thru the results:
$connect=mysql_connect(host,user,pass);
$thedb=mysql_select(database1);
$thequery=select * from foo;
$theresult=mysql_query($thequery) or die (mysql_error())
while ($output=mysql_fetch_assoc($theresult)){
do stuff here..
}
On Fri, 17 May 2002, Kelly Meeks wrote:
Let's say I'm querying a table, and looping thru the results:
$connect=mysql_connect(host,user,pass);
$thedb=mysql_select(database1);
$thequery=select * from foo;
$theresult=mysql_query($thequery) or die (mysql_error())
while
Kelly Meeks wrote:
Ok
Let's say I'm querying a table, and looping thru the results:
$connect=mysql_connect(host,user,pass);
$thedb=mysql_select(database1);
$thequery=select * from foo;
$theresult=mysql_query($thequery) or die (mysql_error())
while
Robert Cummings wrote:
Kelly Meeks wrote:
Ok
Let's say I'm querying a table, and looping thru the results:
$connect=mysql_connect(host,user,pass);
$thedb=mysql_select(database1);
$thequery=select * from foo;
$theresult=mysql_query($thequery) or die (mysql_error())
while
4 matches
Mail list logo