Toms Homepage
  Home    Downloads    Your Account    Forums  
  Create an account
Modules
· Home
· Games
· My Gallery
· PHP Manual
· PHP-Nuke HOWTO
· Web Links
· Your Account
 
Who's Online
Welcome, Anonymous
Nickname

Password

Security Code
Security Code
Type Security Code


(Register)

Membership:
Latest: JulietH63
New Today: 150
New Yesterday: 514
Overall: 46000

People Online:
Visitors: 87
Members: 15
Total: 102

Online Now:
COM BarryR62
COM DelorasMorales86
COM StewartNo
 RodScoggi
COM LowellVil
COM IsaacBust
COM ATLShanon
COM VincentCo
COM RileyHNZ
COM JoanSAX
 KeithScar
 JulietH63
 Lionel51V
COM CarinaHar
 VictorinaOlson85
 
yp_first

yp_first

(PHP 3>= 3.0.7, PHP 4 , PHP 5)

yp_first --  Returns the first key-value pair from the named map

Description

array yp_first ( string domain, string map )

yp_first() returns the first key-value pair from the named map in the named domain, otherwise FALSE.

Example 1. Example for the NIS first

<?php
$entry
= yp_first($domain, "passwd.byname");

$key = key($entry);
$value = $entry[$key];

echo
"First entry in this map has key " . $key . " and value " . $value;
?>


See also yp_next() and yp_get_default_domain().

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2004 by Tom Nitzschner.
Web site engine code is Copyright © 2003 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.082 Seconds

:: VereorLCARS phpbb2 style by Vereor :: PHP-Nuke theme by www.nukemods.com ::