The very first record will be the very first time you assign the $row a
query result. So basically:
$row = mysql_fetch_array($sql_result);
$row will now only have the very first results data in it, if you want the
next rows data you would just call it again:
$row = mysql_fetch_array($sql_resul
RE: [PHP] [NEWMAN] Collecting information from a my sql table.Dang, thanks (o;
- Original Message -
From: Martin Towell
To: 'Philip J. Newman' ; [EMAIL PROTECTED]
Sent: Monday, February 25, 2002 12:22 PM
Subject: RE: [PHP] [NEWMAN] Collecting information from a my
how about ?
$row = mysql_fetch_array($sql_result);
$pub_id = $row["pub_id"];
$pub_headline = $row["pub_headline"];
$pub_dateline = $row["pub_dateline"];
$pub_info = $row["pub_info"];
$pub_image = $row["pub_image"];
-Original Message-
From: Philip J. Newman [mailto:[EMAIL PROTECTED]
3 matches
Mail list logo