Accessing lots of variables
| From: | Jordan Elver | Date: | Tue, 25 Sep 2001 17:42:44 +0000 |
| Subject: | Accessing lots of variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-68690@lists.php.net to get a copy of this message | ||
Hi,
I'm feeling a bit stupid. I have a,load of variables coming from a MySQL
connection using list(). The variables are link1 to link 35 inclusive.
How can I access each of these variables, check if they are empty, then add
them to an array. I don't know how to access then inside a for loop. Can I
use $link and append the number on the end somehow?
Any help please,
Jord