postgres and php
Posted on 2002-05-27
i want to be able to obtain a list of columns in a database table in PHP...
a table in postgres that looked like...
create table mytable
i would want to get an array with 'id', 'age' and 'name' in them.
there are no defined functions in php to do this with postgres. the pg_metadata function is no good, i am not running a compatiable version of php and also the function is in experiemental phase.
Thanks for any help you can give me.