Re: [PHP-DB] Re: Prepared Statements - Search

2012-12-03 Thread tamouse mailing lists
On Mon, Dec 3, 2012 at 3:34 PM, Jim Giner wrote: > On 12/3/2012 2:30 PM, Ethan Rosenberg, PhD wrote: >> $stmt = mysqli_stmt_init($cxn); >> mysqli_stmt_prepare( $stmt, $sql12 ); >> >> The search fails. So, you got us down to where you prepare the sql statement in

[PHP-DB] Re: Prepared Statements - Search

2012-12-03 Thread Jim Giner
On 12/3/2012 2:30 PM, Ethan Rosenberg, PhD wrote: Dear List - I am trying to use prepared statements with the following code: $allowed_fields = array ('Cust_Num' => 'i', 'Fname' => 's', 'Lname' => 's', 'Street' => 's','City'=> 's', 'State' => 's', 'Zip

[PHP-DB] Re: Prepared Statements - Search

2012-12-03 Thread Jim Giner
On 12/3/2012 2:30 PM, Ethan Rosenberg, PhD wrote: Dear List - I am trying to use prepared statements with the following code: $allowed_fields = array ('Cust_Num' => 'i', 'Fname' => 's', 'Lname' => 's', 'Street' => 's','City'=> 's', 'State' => 's', 'Zip

[PHP-DB] Prepared Statements - Search

2012-12-03 Thread Ethan Rosenberg, PhD
Dear List - I am trying to use prepared statements with the following code: $allowed_fields = array ('Cust_Num' => 'i', 'Fname' => 's', 'Lname' => 's', 'Street' => 's','City'=> 's', 'State' => 's', 'Zip' => 'i', 'Phone' => 'i', 'Note