Jolten
02-06-2005, 06:16 PM
Is there an equivalent $DB_site-> command for mysql_fetch_object?
Xenon
02-06-2005, 07:25 PM
nope, not in the plain vb, but it's very easy to get:
open db_mysql.php
find
function fetch_array($query_id, $type = DBARRAY_ASSOC)
{
// retrieve row
return @mysql_fetch_array($query_id, $type);
}
and below just add:
function fetch_object($query_id)
{
// retrieve row
return @mysql_fetch_object($query_id);
}
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.