Re: [PHP-DB] form not working...

2003-11-10 Thread jas
Yeah, sorry that code wasn't updated... after the $_session['table'] is called the doesn't attempt to post the data form the $_session['table'] if that makes sense... all the error checking isn't the problem jas "Jeffrey N Dyke" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > i'd

Re: [PHP-DB] form not working...

2003-11-10 Thread jeffrey_n_Dyke
i'd be curious what your actual problem is? here's a question though.,...would these ever work?. >> if ((!isset($_POST['edit'])) or ($_POST = "")) { $_SESSION['table'] = "t_items"; call_user_func("db_retrieve"); } elseif ((isset($_POST['edit'])) or (!$_POST = "")) { <>> You

RE: [PHP-DB] form not working...

2003-11-10 Thread Gary Every
Don't you need to start your form BEFORE your 's -Original Message- From: jas [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 11:38 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] form not working... For some reason my form to edit selected items is not working, I think I need a new

Re: [PHP-DB] Form not working...

2002-06-26 Thread Pierre-Alain Joye
On Wed, 26 Jun 2002 19:11:46 +1000 Adam Royle <[EMAIL PROTECTED]> wrote: > What you said (Mike) is mostly correct, although the GetSQLValueString() > function in Scott's code automatically puts the quotes around the values > if the datatype definition of "text" is passed to the function. > > A

Re: [PHP-DB] Form not working...

2002-06-26 Thread Adam Royle
What you said (Mike) is mostly correct, although the GetSQLValueString() function in Scott's code automatically puts the quotes around the values if the datatype definition of "text" is passed to the function. Adam -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: htt

Re: [PHP-DB] Form not working...

2002-06-25 Thread szii
okay, couple of questions in this one... =) First... is shorthand for if you care. With a there is no "value" attribute. Your "UPDATE" call via sprintf() is okay for the parameter passing, but you're missing single quotes around the text values. UPDATE test SET (number = 1, name = 'th