On Tue, May 29, 2007 12:05 am, Greg Donald wrote:
> On 5/24/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
>> *lol* You must have missed the other thread... hence the wink on the
>> end :)
>
> I'm guessing not everyone uses a threaded email client. And some
> people always feel the need to post th
On 5/24/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
*lol* You must have missed the other thread... hence the wink on the
end :)
I'm guessing not everyone uses a threaded email client. And some
people always feel the need to post their 'thoughts' no matter how
well the question has already b
tedd wrote:
tedd wrote:
"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."
Unknown
Hi Jim:
You might try the array below and the quote above, I believe, was
> Douglas MacArthur of WWII fame.
Is that the same Douglas MacArth
tedd wrote:
"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon them."
Unknown
Hi Jim:
You might try the array below and the quote above, I believe, was
> Douglas MacArthur of WWII fame.
Is that the same Douglas MacArthur who was on
tedd wrote:
>>"Some men are born to greatness, some achieve greatness,
>>and some have greatness thrust upon them."
>>
>>Unknown
>
> Hi Jim:
>
> You might try the array below and the quote above, I believe, was
> Douglas MacArthur of WWII fame.
Is that the same Douglas MacArthur w
At 8:57 AM -0700 5/23/07, Jim Lucas wrote:
kvigor wrote:
if($value != 'Alabama' || $value!= 'AL' || $value != 'Alaska' ||
$value!= 'AK' || $value !=
-snip-
Ok, here is something that might help you.
$states['AL'] => 'Alabama';
$states['AK'] => 'Alaska';
-snip-
$states['WY'] => 'Wyoming';
On Thu, 2007-05-24 at 17:58 -0500, Richard Lynch wrote:
>
> On Wed, May 23, 2007 10:48 am, Robert Cummings wrote:
> > On Wed, 2007-05-23 at 10:10 -0500, Greg Donald wrote:
> >> On 5/23/07, kvigor <[EMAIL PROTECTED]> wrote:
> >> > [-- SNIPPITY SNIP SNIP --]
> >> > != 'Texas' || $value!= 'TX' || $va
On Wed, May 23, 2007 10:48 am, Robert Cummings wrote:
> On Wed, 2007-05-23 at 10:10 -0500, Greg Donald wrote:
>> On 5/23/07, kvigor <[EMAIL PROTECTED]> wrote:
>> > [-- SNIPPITY SNIP SNIP --]
>> > != 'Texas' || $value!= 'TX' || $value != 'Utah' || $value!= 'UT'
>> || $value
>> > != 'Vermont' || $v
On Wed, May 23, 2007 7:41 am, kvigor wrote:
>if($value != 'Alabama' || $value!= 'AL' || $value != 'Alaska' ||
This mess will *ALWAYS* evaluate to TRUE, because the $value is ALWAYS
only one value, and thus the other 99 values are going to evaluate to
TRUE and you have || between them...
So y
Greg Donald wrote:
On 5/23/07, Jim Lucas <[EMAIL PROTECTED]> wrote:
$states['TN'] => 'Tennesee';
:%s/Tennesee/Tennessee/
Not my typo, this was the ops list just reformatted.
--
Jim Lucas
"Some men are born to greatness, some achieve greatness,
and some have greatness thrust upon
Greg Donald wrote:
On 5/23/07, Jim Lucas <[EMAIL PROTECTED]> wrote:
Ok, here is something that might help you.
$states['AL'] => 'Alabama';
$states['AK'] => 'Alaska';
And a little something for you as well:
:%s/=>/=/g
oops, did over look that one
--
Jim Lucas
"Some men are born to gre
On 5/23/07, Jim Lucas <[EMAIL PROTECTED]> wrote:
Ok, here is something that might help you.
$states['AL'] => 'Alabama';
$states['AK'] => 'Alaska';
And a little something for you as well:
:%s/=>/=/g
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To uns
On 5/23/07, Jim Lucas <[EMAIL PROTECTED]> wrote:
$states['TN'] => 'Tennesee';
:%s/Tennesee/Tennessee/
--
Greg Donald
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, 2007-05-23 at 10:55 -0500, Greg Donald wrote:
> On 5/23/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > > You should really look into learning in_array() for stuff like this.
> >
> > Wouldn't that slow things down and increase the memory footprint? ;)
>
> It'd be interesting to see a be
kvigor wrote:
if($value != 'Alabama' || $value!= 'AL' || $value != 'Alaska' || $value!=
'AK' || $value != 'Arizona' || $value!= 'AZ' || $value != 'Arkansas' ||
$value!= 'AR' || $value != 'California' || $value!= 'CA' || $value !=
'Colorado' || $value!= 'CO' || $value != 'Conneticut' || $valu
On 5/23/07, Robert Cummings <[EMAIL PROTECTED]> wrote:
> You should really look into learning in_array() for stuff like this.
Wouldn't that slow things down and increase the memory footprint? ;)
It'd be interesting to see a benchmark.
--
Greg Donald
http://destiney.com/
--
PHP General Maili
On Wed, 2007-05-23 at 10:10 -0500, Greg Donald wrote:
> On 5/23/07, kvigor <[EMAIL PROTECTED]> wrote:
> > [-- SNIPPITY SNIP SNIP --]
> > != 'Texas' || $value!= 'TX' || $value != 'Utah' || $value!= 'UT' || $value
> > != 'Vermont' || $value!= 'VT' || $value != 'Virginia' || $value!= 'VA' ||
> > $valu
On Wed, 2007-05-23 at 10:17 -0500, kvigor wrote:
> Thanks Dan,
>
> Work like a dream. I solute you.
Don't look now Dan... but you're dissolving!!! *hehe*
Cheers,
Rob.
--
..
| InterJinn Application Framework - http://www.interjinn.com
Thanks Dan,
Work like a dream. I solute you.
""Daniel Brown"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 5/23/07, kvigor <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I have an issue with a particular if statement when I check 3 form fields
>> for their value. The problem is
On 5/23/07, kvigor <[EMAIL PROTECTED]> wrote:
The code is:
"Consumer Name",
"conAddress" => "Consumer Address",
"conCity" => "Consumer City",
"conState" => "Consumer State",
"conZip" => "Consumer Zip Code",
"conPhone" => "Consumer Phone",
"schName" => "School Name",
On 5/23/07, kvigor <[EMAIL PROTECTED]> wrote:
Hi,
I have an issue with a particular if statement when I check 3 form fields
for their value. The problem is no matter what input is entered in the
fields the output is the same. I only added the 3 fields in question of
the
form to reduce heartac
2007. 05. 23, szerda keltezéssel 07.41-kor kvigor ezt írta:
> Hi,
>
> I have an issue with a particular if statement when I check 3 form fields
> for their value. The problem is no matter what input is entered in the
> fields the output is the same. I only added the 3 fields in question of the
On Wed, 2007-05-23 at 07:41 -0500, kvigor wrote:
>
> if($field == "conState" || $field == "schState" || $field == "strState")
> //if these 3 fields are entered
>{
>if($value != 'Alabama' || $value!= 'AL' || $value != 'Alaska' || $value!=
> 'AK' || $value != 'Arizona' || $value!= 'AZ'
Hi,
I have an issue with a particular if statement when I check 3 form fields
for their value. The problem is no matter what input is entered in the
fields the output is the same. I only added the 3 fields in question of the
form to reduce heartache for the readers of this post.
Output alway
24 matches
Mail list logo