Re: [PHP-DB] Entering a Query

2003-04-01 Thread Ronan Chilvers
Hi Shaun Comments inline ... On 01 Apr,2003 at 13:37 shaun shaun wrote: snip Hi, I would be very interested to see an example of how it would be possible to enter a query into a text area and the results of the query displayed on the next page, similar to PHP admin I guess, are they any

Re: [PHP-DB] Entering a Query

2003-04-01 Thread shaun
thanks for your reply, What i was after is a way of representing the data, given that you dont know what columns will be displayed and how many rows etc? I would only be looking to do 'selects' so how can i ensure that this is the only type of query run? Thanks for your help Ronan Chilvers

Re: [PHP-DB] Entering a Query

2003-04-01 Thread Ronan Chilvers
Hi Shaun On 01 Apr,2003 at 14:28 shaun shaun wrote: snip thanks for your reply, What i was after is a way of representing the data, given that you dont know what columns will be displayed and how many rows etc? /snip One way to do it is to load the data into arrays. I generally use

RE: [PHP-DB] Entering a Query

2003-04-01 Thread John W. Holmes
I would be very interested to see an example of how it would be possible to enter a query into a text area and the results of the query displayed on the next page, similar to PHP admin I guess, are they any examples out there? Issue the query with mysql_query() and check for an error. If