Re: [PHP] Re: Variable wildcards

2002-04-11 Thread Jason Wong
On Friday 12 April 2002 14:17, Nick Richardson wrote: > Following on the same subject (kinda) of Variable Variables... i have > actually wondered this before... is there a difference between these 2 > blocks?? (both should print "worldhello" if i am not mistaken, but is there > a difference in how

RE: [PHP] Re: Variable wildcards

2002-04-11 Thread Nick Richardson
de curly braces?): $a = "hello"; $hello = "world"; print($$a.$a); -- and -- $a = "hello"; $hello = "world"; print(${$a}.$a); -Original Message- From: Jason Bell [mailto:[EMAIL PROTECTED]] Sent: Thursday, April 11, 2002 7:33 PM To: [EMAIL

[PHP] Re: Variable wildcards

2002-04-11 Thread Jason Bell
This would certainly work, but I got a suggestion for using that i think will be a much cleaner solution. Thanks! - Original Message - From: "Philip Hallstrom" <[EMAIL PROTECTED]> To: "Jason Bell" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, April 11, 2002 4:10 PM Subjec

[PHP] Re: Variable wildcards

2002-04-11 Thread Philip Hallstrom
If you want to process the list when they submit the form you can do something like this: foreach($_REQUEST as $key => $value ) { if( ereg("user([0-9]*)", $key, $match_ary) ) { #go crazy; } } ?? -philip On Thu, 11 Apr 2002, Jason Bell wrote: > Yeah, I thought so