Russian Ukraine English
Catalog RSS


yp_order

(PHP 3>= 3.0.7, PHP 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: " . $order; ?>       

See also yp-get-default-domain().

Led