Sounds like what you want is Variable Variables.
http://www.php.net/manual/en/language.variables.variable.php

----- 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* ?


Thanks!





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

Reply via email to