Re: Unique Names for Variable in Loop

From: Date: Thu, 02 Feb 2006 19:54:59 +0000
Subject: Re: Unique Names for Variable in Loop
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-229756@lists.php.net to get a copy of this message
Yes, that's it. Thanks for the "swift kick". AP On Feb 2, 2006, at 12:37 PM, Jim Moseby wrote:
I must be brain dead today since I can't get my syntax correct. Simple MySQL query to return a list of last_name. No problem. Each last name returned needs to be assigned to a unique variable like name1, name2, name3, etc.
How about $names[1], $names[2], $names[3]? JM -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#229756) next »