Is it possible to generate PHP with PHP within PHP
Posted: Tue Sep 26, 2006 11:26 am
I've already tried to and I've had no sucess but I wondered if there's a way to possibly do the following. I want to create an array with every number between 0 and 52, just for a test. I'll explain in code because you'll understand what I mean easier 
To try and get it to do:
etc etc...
Stephen,
Code: Select all
$cards = array((for $i = 1; $i < 53; $i++) { echo $i; });Code: Select all
$cards = array ("1", "2", "3");Stephen,