X wrote:
Hmmm, this genereated the error message, "Parse error: parse error in
/directory/connect.php on line 12" - Line twelve is the first "printf..."
line.
Any suggestions?
Chris
Here is corrected version:
\n", $row["DBID"]);
printf("First Name: %s\n",$row["FIRST_NAME"]);
3 7:04 AM
To: [EMAIL PROTECTED]
Subject: Re: query only returns one row
Hi Chris,
You need to use a while loop to fetch all of the records returned in the
SELECT statement in PHP, as follows:
\n", $row["DBID"];
printf("First Name: %s\n",$row[&q
Hi Chris,
You need to use a while loop to fetch all of the records returned in the
SELECT statement in PHP, as follows:
\n", $row["DBID"];
printf("First Name: %s\n",$row["FIRST_NAME"];
printf("Last Name: %s\n", $row["LAST_NAME"];
}
?>
- Original Me