Re: [PHP] Array: If i'm in the child array then how I tell the parent's key name..

2005-10-01 Thread Ing . Josué Aranda
Scott, I hope this code help you: [PHP CODE] /* * Author: * Josue Aranda <[EMAIL PROTECTED]> */ // This set an $arr $arr= array( 'ABC' => array( 'DEF' => 'Data'

[PHP] Array: If i'm in the child array then how I tell the parent's key name..

2005-09-30 Thread Scott Fletcher
Suppose that I'm in a child array and I wanna know how do I tell what key is the parent's level, one level up... For example, --snip-- $arr['ABC']['DEF']; --snip-- Let's say the child is "DEF" then the key name one level up would be "ABC". How do I determine the one level up? Thanks... -- P

RE: [PHP] Array --> If

2003-11-07 Thread Erik Osterman
rom: Jason Williard [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 6:42 PM To: [EMAIL PROTECTED] Subject: [PHP] Array --> If I am building a script that I would like to have do a specific task based on whether specific counts have been reached. Basically, the script checks for conn

[PHP] Array --> If

2003-11-05 Thread Jason Williard
I am building a script that I would like to have do a specific task based on whether specific counts have been reached. Basically, the script checks for connectivity in a specific port. If the connectivity fails, it increases the count by 1. It does this every minute. I would like the script to

[PHP] ARRAY, IF & INSERT

2002-06-21 Thread César Aracena
Hi all. I have this form in which one Administrator can insert new members and after that, in another page, a form where he/she can insert the new member’s sons & daughters. I want to display a table with “text inserts” into the admin can type let’s say a maximum of 5 kids in the second page. Th