Re: AW: [PHP] How to use the fields of an array as individual parameter for a function

2003-03-04 Thread Jason Wong
On Tuesday 04 March 2003 18:24, Christian Bartels wrote: > Ok, but how do i pass the vars to the second function (foo2)? > There is not a fixed number of parameters (and so fields in the $params > array). You can do something along these lines: function doo($args) { // these are the default va

Re: AW: [PHP] How to use the fields of an array as individual parameter for a function

2003-03-04 Thread Tom Rogers
Hi, Tuesday, March 4, 2003, 8:53:25 PM, you wrote: CB> Mh...i need this for a class loader. CB> Could you post your class loader? (i do not want to invent the wheel again) CB> Thanks! This works for me to load modules in a base class so adapt it as you need. class_dir = $class_dir; }

AW: [PHP] How to use the fields of an array as individual parameter for a function

2003-03-04 Thread Christian Bartels
Mh...this works great! Thanks a lot! --- Gruß CB -Ursprüngliche Nachricht- Von: Tom Rogers [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 4. März 2003 11:49 An: Christian Bartels Cc: [EMAIL PROTECTED] Betreff: Re: [PHP] How to use the fields of an array as individual parameter for a fun

AW: [PHP] How to use the fields of an array as individual parameter for a function

2003-03-04 Thread Christian Bartels
Mh...i need this for a class loader. Could you post your class loader? (i do not want to invent the wheel again) Thanks! --- Gruß CB -Ursprüngliche Nachricht- Von: Tom Rogers [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 4. März 2003 11:49 An: Christian Bartels Cc: [EMAIL PROTECTED] Be

AW: [PHP] How to use the fields of an array as individual parameter for a function

2003-03-04 Thread Christian Bartels
Ok, but how do i pass the vars to the second function (foo2)? There is not a fixed number of parameters (and so fields in the $params array). --- Gruß CB -Ursprüngliche Nachricht- Von: Jason Paschal [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 4. März 2003 11:03 An: [EMAIL PROTECTED]