-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Jason Wong declared
> Not sure whether there is a built-in function for doing so. But here's
> something I prepared earlier:
>
> function create_list_from_ENUM($dbh, $table, $column) {
> $sth = $dbh->prepare("SHOW COLUMNS FROM $tab
rsort($labels);
break;
default :
break;
}
return $labels;
} else {
echo ("Error not ENUM type\n");
}
} else {
echo ("Error querying database.\n&quo
On Monday 25 February 2002 02:59, Nick Wilson wrote:
> Hi all
> Which php function can I use to get the emum values from a mysql db
> table? I remember doing this once before but I've been looking at the
> manual and just can't remember how I did it?
Not sure whether there is a built-in function
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi all
Which php function can I use to get the emum values from a mysql db
table? I remember doing this once before but I've been looking at the
manual and just can't remember how I did it?
Many thanks
- --
-
4 matches
Mail list logo