help with array
| From: | Kari Kostamo | Date: | Thu, 28 Sep 2000 17:20:15 +0000 |
| Subject: | help with array | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-17931@lists.php.net to get a copy of this message | ||
I am working on converting the following perl code to PHP
Perl:
{
action => "bla", object => "bla",attributes => {
variable => $INCOMING[n],
contact_set => {
"owner" => {
first_name => "kari",
last_name => "kostamo",
),
"admin" => {
first_name => "kari",
last_name => "kostamo",
}
},
nameserver_list => [
(name =>'ns1.ex.com',sortorder =>1),
(name =>'ns2.ex.com',sortorder =>2)
]
}
}
PHP:
$cmd = array(
'action' => 'bla',
'object' => 'bla',
'attributes' => array(
'variable' => $INCOMING[n],
'contact_set' => array(
'owner' => array(
'first_name' => "kari",
'last_name' => "kostamo"
),
'admin' => array(
'first_name' => "kari",
'last_name' => "kostamo"
)
)
????????????????????????????????
? HAVING PROBLEMS IN THIS AREA ?
? NAMESERVER_LIST ?
????????????????????????????????
)
);
I have everything except the nameserver_list working correctly. Is there someone that could please help me with this problem.
--
--------------------- Kudosnet Technologies Inc. ---------------------
kari@kudosnet.net www.kudosnet.com
FREE parking, FREE Virtual Business cards, and no hidden charges!
Limited time offer, register 50 domains or more and save 50%
http://secure.kudosnet.com/domain/k2/r.kck101
Domains can now be up to 63 characters long!
---------------------------- 1-877-885-8367 --------------------------