Re: [PHP] Re: [users@httpd] November 2, 2004

2004-11-02 Thread Robet Carson
was the presidential election coded in php? On Tue, 2 Nov 2004 17:34:58 +, Curt Zirzow <[EMAIL PROTECTED]> wrote: > * Thus wrote Enrico Weigelt: > > > > * Patrick Donker <[EMAIL PROTECTED]> wrote: > > > > Hi folks, > > > > > > > > This is just a friendly reminder that if you are registere

Re: [PHP] throw me a bone for a regexp please.

2004-10-15 Thread Robet Carson
Thanks! On Fri, 15 Oct 2004 10:06:15 -0500, Matt M. <[EMAIL PROTECTED]> wrote: > > Also if someone could direct me to a site that explains how to use and > > create regexp in a small minded manor since I have been unable to > > grasp the concepts. > > > the regex coach has been a big help to me

Re: [PHP] throw me a bone for a regexp please.

2004-10-15 Thread Robet Carson
Thank you for the tips and the help. I really appriciate it. You have given me something that I can use to learn regular expressions. Thanks, Robert On Fri, 15 Oct 2004 11:04:57 +0800, Jason Wong <[EMAIL PROTECTED]> wrote: > On Friday 15 October 2004 10:35, Robet Carson wrote: >

[PHP] throw me a bone for a regexp please.

2004-10-14 Thread Robet Carson
need a regexp to get the contents of this marker or one very simular: {!STATISTICS:starbucks!} what I am looking for is to get the "STATISTICS" and "starbucks" into an array() if possible. I believe with the correct regexp this can be accomplished using preg_split() or by getting the contents of

Re: [PHP] Recursion to sanitize user input

2004-10-08 Thread Robet Carson
this would probably be even better: foreach ( $userInput as $key => $value ) { $newvalue[$key] = sanitize( $value ); // reassign key with sanatized value } return $newvalue // return array with sanatized $key => $value pairs } else My 2 cents: -- PHP General Mailing

Re: [PHP] Recursion to sanitize user input

2004-10-08 Thread Robet Carson
it should be this i think: foreach ( $userInput as $key => $value ) { $newvalue[] = sanitize( $value ); } return $newvalue // returns an array - since this is the only way to get all veriables from the function } else I could be wrong but the only way it woul