yp_order

yp_order

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

yp_order -- Returns the order number for a map

Description

int yp_order ( string domain, string map )

yp_order() returns the order number for a map or FALSE.

Example 1. Example for the NIS order

<?php
    $number
= yp_order($domain, $mapname);
    echo
"Order number for this map is: " . $number;
?>

See also yp_get_default_domain().

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.