RES: [PHP] Execute php commands that are in an array

2008-06-05 Thread Thiago Pojda
De: Daniel Brown [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 5 de junho de 2008 14:18 Para: Ryan S Cc: php php Assunto: Re: [PHP] Execute php commands that are in an array On Thu, Jun 5, 2008 at 12:34 PM, Ryan S <[EMAIL PROTECTED]> wrote: > Hey, > its easier to start

Re: [PHP] Execute php commands that are in an array

2008-06-05 Thread Daniel Brown
On Thu, Jun 5, 2008 at 12:34 PM, Ryan S <[EMAIL PROTECTED]> wrote: > Hey, > its easier to start with code and then explain: > > $t_array[]='chr(rand(97,122))'; > echo $t_array[0]; > > The above code outputs > chr(rand(97,122)) > > How can i execute that above code from the array instead of displayi

[PHP] Execute php commands that are in an array

2008-06-05 Thread Ryan S
Hey, its easier to start with code and then explain: $t_array[]='chr(rand(97,122))'; echo $t_array[0]; The above code outputs chr(rand(97,122)) How can i execute that above code from the array instead of displaying it? Thanks! Ryan -- - The faulty interface lies between the chair and