Jump to content

Archived

This topic is now archived and is closed to further replies.

essjay_d12

Describe tables through PHP

Recommended Posts

Is it possibly to describe tables through php?

describe [i]table[/i]; just doesnt seem to return anything.

Thanks

D

Share this post


Link to post
Share on other sites
[a href=\"http://dev.mysql.com/doc/refman/5.0/en/show-columns.html\" target=\"_blank\"]http://dev.mysql.com/doc/refman/5.0/en/show-columns.html[/a]

that is basicaly the command that DESCRIBE runs so if you look at that it may help but im not sure to how you would echo this back..

Share this post


Link to post
Share on other sites
Yeah I have done that - in MySQL its fine,

I just cannot seem to get anything appearing when I try to echo it in PHP.

Thanks though.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.