"PHP DB"
Sent: Friday, September 22, 2006 10:35 PM
Subject: [PHP-DB] Turning result into array from columns
So I'm trying to pull id's and put them into an array. I know I need to
iterate through them, but it doesn't seem to turn into an array. Here's
the
function
So I'm trying to pull id's and put them into an array. I know I need to
iterate through them, but it doesn't seem to turn into an array. Here's the
function that I'm trying:
function checkID($id) {
$q = sprintf("SELECT id FROM content");
$result = $this->query($q);
while ($row = mysql_fetch_arra