[PHP] inserting info from a query string into sql

2004-01-20 Thread mayo
PROBLEM I'm trying to insert information from a query string into sql. I have a table with content. The column headers have up and down arrows allowing the user to sort and order by that column. PHP I have default settings set for the variables. If I change the default values the SQL results

Re: [PHP] inserting info from a query string into sql

2004-01-20 Thread Jason Wong
On Wednesday 21 January 2004 05:29, mayo wrote: [snip] However I can't seem to insert the query string variables into the sql. [snip] What am I missing here? 1) Assign your query to a string (eg $query), and echo() it so you know what your query is. 2) Make good use of mysql_error().