Hi everyone I recently designed a MYSQL database and used the following function to fetch the row. Unfortunately I have been told that the server is POSTgresql only so I am having to revwerse enjineer the class. I have included the function below and am having trouble finding the alternative for mysql_data_seek. Any held would be greatly appreciated
Code:
function fetch () {
if ( $row=pg_fetch_array($this->query,PGSQL_ASSOC) ) {
return $row;
} else if ( $this->size() > 0 ) {
mysql_data_seek($this->query,0);
return false;
} else {
return false;
}
}
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum