[PHP-WIN] Re: Javascript/PHP

2002-08-22 Thread Brian 'Bex' Huff
document.myform.elements["somename[]"] unless you're having a different problem than Im thinking of... -- Brian 'Bex' Huff [EMAIL PROTECTED] Phone: 952-903-2023 Fax: 952-829-5424 > I have a javascript function that I am passing a group of checkboxes > to. The purpose of the js is to check

Re: [PHP-WIN] finding out if a key exists in an associative array

2002-08-22 Thread Syl
http://www.php.net/manual/en/function.array-key-exists.php Syl - Original Message - From: "R.S. Herhuth" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 22, 2002 6:47 AM Subject: [PHP-WIN] finding out if a key exists in an associative array > > > I'm creating an as

RE: [PHP-WIN] First Timer

2002-08-22 Thread Brian 'Bex' Huff
Id also advise to be careful with the default php.ini file that ships with the default installer for windows. That file is configured so that you can get up and running with PHP as quickly as possible... which is nice... but it aint configured for security or performance. At least in 4.1 th

RE: [PHP-WIN] finding out if a key exists in an associative array

2002-08-22 Thread Ross Fleming
isset won't work if the array value is set to NULL... > -Original Message- > From: Steel [mailto:[EMAIL PROTECTED]] > Sent: 22 August 2002 13:58 > To: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] finding out if a key exists in an associative > array > > > Hi R.S., > > Thursday, August 22

Re: [PHP-WIN] finding out if a key exists in an associative array

2002-08-22 Thread Chris Boget
:: I'm creating an associative array that creates keys and values for :: those keys on the fly. Later I need to check and see if the array :: contains a key before I call it to avoid the dreaded "Undefined :: Index" error. Is it possible to see if a key exists in an :: associative array before I

RE: [PHP-WIN] finding out if a key exists in an associative array

2002-08-22 Thread Ross Fleming
http://www.php.net/manual/en/function.array-key-exists.php The manual is a wonderous thing... ;) Ross PS It may interest you to know, placing an @ sign at the start of functions or declarations ignores any errors you might get > -Original Message- > From: R.S. Herhuth [mailto:[EMAIL PR

Re: [PHP-WIN] finding out if a key exists in an associative array

2002-08-22 Thread Steel
Hi R.S., Thursday, August 22, 2002, 4:47:22 PM, I've read: RSH> it? Kind of like the "isset" to check if a variable exists before you RSH> call it, and it doesn't error out on you. I think You still can use isset ;) ex: if (isset($array[$key])) { do something; } Also, if You want to

[PHP-WIN] finding out if a key exists in an associative array

2002-08-22 Thread R.S. Herhuth
I'm creating an associative array that creates keys and values for those keys on the fly. Later I need to check and see if the array contains a key before I call it to avoid the dreaded "Undefined Index" error. Is it possible to see if a key exists in an associative array before I call it? Ki

Re: [PHP-WIN] Re: PHP with IIS

2002-08-22 Thread SEGUERRA FRANCIS TED ARANAS
i am through configuring the php but there is a problem. php cannot locate the dll's which are placed in C:\PHP\extensions\. This is also the one placed at the 'extension_dir' in my php.ini. i am running the php 4.2.1 in my iis on my windows xp. thanks so much... francis ted seguerra dept. of