Good day.

I believe that one would have to use the eval() statement to construct that
syntax.

You probably would be much better off using an array to store this
information.  If you are trying to read form data, then construct your form
names so that the results will be put into an array by PHP.

============================
Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948


-----Original Message-----
From: John Fishworld [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 10:55 AM
To: Php-General-List (E-mail)
Subject: [PHP] syntax


Can someone please remind me what the correct syntax for this is !
in a loop
and want individual

$ned_1_city = blah
$ned_2_city = blur

I've been trying this but its wrong

$ned_.$i._city = $ned_city ;

thanks
john




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to