here may be why:
//Right here you grab a row
$query_data = mysql_fetch_row($result);
//but you don't use it and you move on
while($query_data = mysql_fetch_array($result)) {
- Original Message -
From: "Rory O'Connor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 05, 20
At 7:11 PM -0700 7/5/01, Rory O'Connor wrote:
>Excuse me if this is too newbie...but I'm writing a simple script to
>query a database and loop through the reuslts, echoing them on the page.
> When I enter the query at the mysql command line, I get the correct
>results. But the same query run thr
2 matches
Mail list logo