how simple would the code be? the project is for a client, and they run the server. i am trying to figure out if i can easily code this myself, or if a tool that allows free form sql queries would be easier... just install it and it works...
i am having a rough time figuring out how to display the results of SELECT statements, for starters.
for testing, i do:
$db_query = "SELECT * FROM foo_table";
$db_query_result = mysql_query($db_query);
$db_query_result_row = mysql_fetch_array($db_query_result);
it seems the query returns column name/column value pairs.....
then i should be able to do some sort of call to get the column names (how i am not sure)
then i should be able to display each column's information below each column header (how i am not sure)
some sort of mix of a while statement and a for each statement....?
i have phpmyadmin running on my own server, and it is great, but the people i am working on this project for (who run the project's server) are concerned about security issues and phpmyadmin. i really like the way phpmyadmin lets you do free form SQL queries, though. I'd like to mimic that if possible, or get another tool running, perhaps a simpler one, that would allow free form queries.
thoughts?
cg