Hi there. I have a table called IMAGES and I would like to retrieve all
image_ids and dump into an array. I'm new to php so any help would greatly
be appreciated. I started my code below, but am unsure what to do next :(
Thx Joe:)
'connect to db
$connectionToDBid = odbc_connect("codesnipits", "joecode", "joecode");
// sql statement
$sqlb = "SELECT image_id FROM IMAGES";
'execute the query and dump into $row variable
$row = odbc_fetch_row($connectionToDBid, $sqlb);
'loop through each record and dump image_ids into array
for each($row as $value){
// assign ids to array here???
}
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]