php-windows Digest 16 Jan 2004 14:53:18 -0000 Issue 2083
Topics (messages 22588 through 22592):
test message
22588 by: Sungpill Han
22591 by: Svensson, B.A.T. (HKG)
22592 by: Mike Brum
Re: how to check the form filled all
22589 by: Meteorlet
Re: Regular expressions
22590 by: Meteorlet
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
i can't post!
--- End Message ---
--- Begin Message ---
> i can't post!
I can't replay.
--- End Message ---
--- Begin Message ---
Not being able to replay is a common problem with VCR's. Please take yours
to a local repair shop or, if it's still under warrantee, you should be able
to send it back to the manufacturer and get free repairs for only the price
of shipping.
Good luck.
-----Original Message-----
From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 2:48 AM
To: '[EMAIL PROTECTED] '
Subject: RE: [PHP-WIN] test message
> i can't post!
I can't replay.
--
PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Sungpill Han,Hello!
$value="" should be corrected $value==""
======= 2004-01-15 17:33:14 =======
>HI, i want to check if the user filled the all inputs in the form. So, I
>checked NULL and "" with this function in the post receiving script.
>-------------------------------
>function is_filled_out()
>{
> // test that each variabl has a value
> foreach($_POST as $key => $value)
> {
> if(is_null($value) || $value="")
> return false;
> }
> return true;
>}
>---------------------
>but when I submit the form without putting any value, it returns 'true'.
>what's wrong with my code?
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
= = = = = = = = = = = = = = = = = = = =
Meteorlet
[EMAIL PROTECTED]
2004-01-16
--- End Message ---
--- Begin Message ---
Gerardo Rojas,Hello!
you might use single quote,such as '\|'
======= 2004-01-16 02:13:45 =======
>i found out what was happening.
>
>i was using: "\|" as the or
>
>but "\" is also an escape character so i needed "\\|" as an OR.
>
>--
>Gerardo S. Rojas
>mailto: [EMAIL PROTECTED]
>
>
>-----Original Message-----
>From: Ignatius Reilly [mailto:[EMAIL PROTECTED]
>Sent: Thursday, January 15, 2004 11:36 AM
>To: Gerardo Rojas; [EMAIL PROTECTED]
>Subject: Re: [PHP-WIN] Regular expressions
>
>
>What do you want to replace a match with?
>
>_________________________
>----- Original Message -----
>From: "Gerardo Rojas" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Thursday, January 15, 2004 18:16
>Subject: [PHP-WIN] Regular expressions
>
>
>I have 2 regular expressions that work correctly. How do i combine them to
>work as 1 or 2
>
>1: /^\d\{1,2}\.
>
>2: /^\s\d\{1,2}\.
>
>i want to replace any matching pattern with either regular expression. It
>would be nice if i could put this in a single command. Currently i have
>this mapped to a Function Key "F2"
>
>
>--
>Gerardo S. Rojas
>mailto: [EMAIL PROTECTED]
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
= = = = = = = = = = = = = = = = = = = =
Meteorlet
[EMAIL PROTECTED]
2004-01-16
--- End Message ---