what is $pdoInstance?
here it refers to mysql_connect();?????
the mysql_* function are deprecated – many people are now using PDO.
you could use mysql_query with several different SQL statements to get the same effect, like SHOW COLUMNS FROM table_name, DESCRIBE table_name, SELECT COLUMN_NAME FROM NFORMATION_SCHEMA.COLUMNS
WHERE table_name = ‘table_name’, EXPLAIN table_name, etc – depending on what you use, the PHP mysql_* function to handle the information would be different, but general mysql_fetch_array can be used.
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.
Current ye@r *
Leave this field empty