* hugh danaher ([EMAIL PROTECTED]) [Feb 01. 2002 03:44]: > I learned it as: echo ${"check".$i};
Works the same way. If you want to get really picky: echo ${'check'.${i}}; > and then was told to use an array... > as in: > echo $check[$i]; The circumstances must have been different. As of php 4.1.0, over here, that returns nothing in this context: <?php $i = '384'; $Check = 'Checkbox'; $Check384 = 'Combined'; print $Check[$i]; /* prints nothing */ ?> -- Brian Clark | Avoiding the general public since 1805! Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8 Avoid strange women and temporary variables. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]