Re: NOPE: [PHP] HELP: Re: Table comments

2001-10-27 Thread Mike Eheler
That's because you're not selecting a database. You need to either put the database name in mysql_select_db, or change the query to: SHOW TABLE STATUS FROM databasename LIKE 'table_name'; so change the line to: $sql = "SHOW TABLE STATUS FROM db_name LIKE 'bookmark_unit4'"; Mike jtjohnston w

NOPE: [PHP] HELP: Re: Table comments

2001-10-27 Thread jtjohnston
I'm still getting "Supplied argument is not a valid MySQL result resource" for: while ($data = mysql_fetch_array($result)) { mysql_free_result($result); presumably $result -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comma

Re: [PHP] HELP: Re: Table comments

2001-10-27 Thread Mike Eheler
Mike jtjohnston wrote: >>In my phpadmin, I have something called: "Table comments". >>Can I acccess this somehow? Can't find it in the function database. >> > >I've tried this since, but can't get syntax right: > > $myconnection = mysql_pconnect("localhost","",""); > mysql_select_db("",$myconn

[PHP] HELP: Re: Table comments

2001-10-27 Thread jtjohnston
>In my phpadmin, I have something called: "Table comments". >Can I acccess this somehow? Can't find it in the function database. I've tried this since, but can't get syntax right: I'm still new to this. A post & reply would be appreciated, Thanks, John -- PHP General Mailing List (http://w