Re: output the schema

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, August 3, 2007 6:34 am, Richard Heyes wrote:
>> I reword my last post.
>>
>> I want to take the result and generate the field info to the screen
>> e.g
>
> Well, if you're using MySQL you could use either "DESC <table>;" or
> "SHOW CREATE ...". But you can't really generate the schema from a
> result set.

Yes you can:

http://php.net/mysql_field_name
and related functions

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux