Re: [PHP] Re: Variable number of parameters

2008-08-08 Thread Philip Thompson
On Aug 7, 2008, at 12:37 PM, Shawn McKenzie wrote: Philip Thompson wrote: Oops! Meant to send this to the list On Aug 7, 2008, at 9:31 AM, Philip Thompson wrote: On Aug 6, 2008, at 4:25 PM, Shawn McKenzie wrote: Philip Thompson wrote: Is it possible to grab a variable number of parameter

Re: [PHP] Re: Variable number of parameters

2008-08-07 Thread Shawn McKenzie
Philip Thompson wrote: Oops! Meant to send this to the list On Aug 7, 2008, at 9:31 AM, Philip Thompson wrote: On Aug 6, 2008, at 4:25 PM, Shawn McKenzie wrote: Philip Thompson wrote: Is it possible to grab a variable number of parameters and send the appropriate amount to another funct

Re: [PHP] Re: Variable number of parameters

2008-08-07 Thread Philip Thompson
Oops! Meant to send this to the list On Aug 7, 2008, at 9:31 AM, Philip Thompson wrote: On Aug 6, 2008, at 4:25 PM, Shawn McKenzie wrote: Philip Thompson wrote: Is it possible to grab a variable number of parameters and send the appropriate amount to another function? db->prepare("SELE

[PHP] Re: Variable number of parameters

2008-08-06 Thread Shawn McKenzie
Philip Thompson wrote: Is it possible to grab a variable number of parameters and send the appropriate amount to another function? db->prepare("SELECT * FROM `table` WHERE (`id`=?)"); $this->db->bind('ii', $id1); $this->db->prepare("SELECT * FROM `table` WHERE (`id`=? AND `other_id`=?)"); $t