d in the second form you have:
...
Cheers, Greg.
--
Greg Wiley
www.wileysworld.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 02 Jul 2003 14:58:39 +0100, Greg Wiley <[EMAIL PROTECTED]>
wrote:
On Wed, 2 Jul 2003 14:45:27 +0100, Gary Ogilvie
<[EMAIL PROTECTED]> wrote:
[snip]
By maintaining the POST (assuming you're using POST)variables and
calling them into the form values when reloaded. If you
- Original Message -
From: <[EMAIL PROTECTED]>
>
> I use preg_match to validate the Middle Initial field of a form and so far
> it works, except yesterday a user submitted a "0" (zero) as a middle
> initial! My regexp is:
>
> if (!empty($_POST[MI]) && (preg_match('/^[[:alpha:]]{1,1}$/', $
Funny you should ask this because I've been meaning to share some code that
I wrote a few months ago that does exactly this for any day of the week.
Please feel free to use this and make changes. I'd appreciate any
changes/bug fixes being sent back to me though.
"Monday",
That worked brilliantly... I bow down to your sheer
> excellence!!! Thankyou Thankyou Thankyou
>
>
>
> "Greg Wiley" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> er.demon.net...
> Funny you should ask this because I've been meaning
> -Original Message-
> From: Burhan Khalid [mailto:[EMAIL PROTECTED]
>
> Greg Wiley wrote:
> > Funny you should ask this because I've been meaning to
> share some code
> > that I wrote a few months ago that does exactly this for
> any day of the wee
it's not a "page" in itself. I use it
in a form that display checkboxes for each Sunday in a month.
Someone else may use it by providing the arguments via a form in
the manner you suggest. The function, however, is just that, a
function.
Cheers, Greg.
-
ue
using other variables.
Cheers, Greg.
--
Greg Wiley
http://wileysworld.org/
Mail was checked for spam by the Freeware Edition of No Spam Today!
The Freeware Edition is free for personal and non-commercial use.
You can remove this notice
do this in the php code that processes
the submission. There is no year info such that I could turn the
dates into timestamp and sort that way. Has anyone got any code
that can sort this correctly?
Cheers, Greg.
--
Greg Wiley
http://wileysworld.org/
--
PHP General Mailing List (http://w
> -Original Message-
> From: Jason Wong [mailto:[EMAIL PROTECTED]
[problem snipped]
>
> Incorporate whatever sorting info you need into the value of
> the checkbox.
>
> name="Dec 28 am"
> value="">
>
Thanks, someone else suggested this and I think this is the met
> -Original Message-
> From: Greg Wiley [mailto:[EMAIL PROTECTED]
>
> > -Original Message-
> > From: Jason Wong [mailto:[EMAIL PROTECTED]
> [problem snipped]
> >
> > Incorporate whatever sorting info you need into the value of
the
> >
Evan Nemerson wrote:
Search for 'doomsday algorithm' on google. Once you grok it, you should be
able to figure out the last friday quite easily.
On Sunday 26 October 2003 11:37 am, OrangeHairedBoy wrote:
Hi all,
I'm trying to write a script to get the next last friday of the month and I
am f
12 matches
Mail list logo