- Messages
- 1,682
- Reaction score
- 32
- Points
- 48
I am working on a script that can be installed on different db system, so they are using dblayer (i'm not sure if this is something they made up or is somewhat known) but it doesn't have "mysql_fetch_field" and i need to add it in there;
http://us2.php.net/mysql_fetch_field
that is so far what i have done, but I am missing the second argument, the $field_offset, can somebody help me fix that?
http://us2.php.net/mysql_fetch_field
PHP:
function fetch_field($query_id = 0)
{
return ($query_id) ? @mysql_fetch_field($query_id) : false;
}