Re: [PHP] Variable wildcards

2002-04-11 Thread Analysis & Solutions
Hey J: On Thu, Apr 11, 2002 at 03:24:36PM -0700, Jason Bell wrote: > 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 Use an array. $user[12] and $user[28]. You can then use the various ar

Re: [PHP] Variable wildcards

2002-04-11 Thread Jason Bell
x27;t need to worry about needing to determine which variables exist. - Original Message - From: "Kevin Stone" <[EMAIL PROTECTED]> To: "Jason Bell" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, April 11, 2002 3:44 PM Subject: Re: [PHP] Variabl

Re: [PHP] Variable wildcards

2002-04-11 Thread Kevin Stone
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 wildcard

[PHP] Variable wildcards

2002-04-11 Thread Jason Bell
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* ?