[PHP-DB] Re: Addslashes in SQL Statement

2002-08-02 Thread JJ Harrison
I would say that having to slashes causes the first slash to be ignored. try only doing addslashes() once. also make a variable for your query then use something like this to do it: $result = mysql_query($query) or die(Query failed: $querybr . mysql_error()); If the query fails mySQL will

[PHP-DB] Re: Addslashes in SQL Statement

2002-08-02 Thread JJ Harrison
I may be wrong about the addslashes thing. Just trying to help :) I would echo all of the post data. It appears as if very little was sent. Check your form field names etc... -- JJ Harrison [EMAIL PROTECTED] www.tececo.com Jj Harrison [EMAIL PROTECTED] wrote in message [EMAIL

[PHP-DB] problem getting form input field to become part of query statement

2002-08-02 Thread Chip Wiegand
I have a form with a select list and a hidden field to save the selected item. On submit another page is loaded with a few fields to be filled in and submitted to a table. Using get I see the data is being passed from the first page to the second properly, and the second page sends its data