Taifun
14.08.2007, 10:09:57
Jak sprawdzić czy tabela istnieje w danej bazie mysql?
kossa
14.08.2007, 10:29:10
możesz np. tak
<?php
function table_exists($table)
{
$un = "";
$pass = "";
$db = "";
$host = "localhost";
if($row[0]==$table)
{
return true;
}
else
{
return false;
}
}
}
?>
poza tym jest google i tam mysql + table + exist da Tobie odpowiedź
Łukasz