This will give you the description
$table = 'table_name';
$sql = "desc $table";
$r = mysql_query();
while($row = mysql_fetch_assoc($r))
{
echo implode(' :: ',$row);
}
This will give you the dump:
$mysqldump = '/usr/local/mysql/bin/mysqldump';
$dump = `$mysqldump -u $user -p $pa
Hmmhow you mean schema?
you can always list all databases then recurse into tables and fields and
display them as however you want!
see: mysql_list_dbs(), mysql_list_fields(), mysql_list_tables()
<[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
>
> Is t
2 matches
Mail list logo