On 21-Jan-2003 Mako Shark wrote:
> Is there a way of finding if a table exists with only
> one command in MySQL? I've looked through the MySQL
> functions, and the closest I've gotten to what I need
> is mysql_list_tables or mysql_tablename (I'll have to
> check into these a little more), but I wa
L PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, January 21, 2003 1:05 PM
Subject: Re: [PHP] Finding out if a table exists
> Okay what the hell I'm bored anyway...
>
> function mysql_table_exists($table)
> {
> global $db; // <- database resource handle
>
TED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 21, 2003 10:05 AM
Subject: [PHP] Finding out if a table exists
> Is there a way of finding if a table exists with only
> one command in MySQL? I've looked through the MySQL
> functions, and the closest I've gotten to wh
Is there a way of finding if a table exists with only
one command in MySQL? I've looked through the MySQL
functions, and the closest I've gotten to what I need
is mysql_list_tables or mysql_tablename (I'll have to
check into these a little more), but I was hopefully
looking for something that retur
4 matches
Mail list logo