On Sat, 19 Jun 2004 14:25:27 -0600, water_foul <[EMAIL PROTECTED]> wrote: > > is there a way to use one variable to create another? > Example > $poo=1 > and i want > $lie1 > OR > $poo=2 > and i want > $lie2
If I understand you right, you want: ${'lie' . $poo} when $poo is 1, that will give you $lie1, and when $poo is 2, it'll give you $lie2. You're almost certain to be better off using arrays though,,, -robin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php