Sounds like what you want is Variable Variables.
----- Original Message -----
From: "Jason Bell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 11, 2002 4:24 PM
Subject: [PHP] Variable wildcards
are there wildcard characters for variables?
Lets say that I have a varable that always starts with $user but then has
the 2 digit user id attached to the end, so it could be $user12 or $user28
is there a way to grab these? sort of like in unix standards, where I could
use user?? or user* ?
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php