Re: Variable number of parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tuesday 05 August 2008 12:40:27 am Philip Thompson wrote:

> Ok, is it possible to send any number of variables to db->bind() in
> order to send those to statement->bind_param()?
>
> Or, if someone else has a better db abstraction method, feel free to
> educate...
>
> Thanks,
> ~Phil

Unless I'm misunderstanding you entirely:

http://us.php.net/manual/en/function.func-get-args.php
http://us.php.net/call_user_func_array

You can pretty much do anything you want with that.

-- 
Larry Garfield
larry@xxxxxxxxxxxxxxxx

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux