yp_order

(PHP 4, PHP 5 <= 5.0.5)
Returns the order number for a map
int yp_order ( string $domain, string $map )

Gets the order number for a map.

Parameters:
domain

Gets the order number for a map.

map

Gets the order number for a map.

Returns:

Returns the order number for a map or FALSE on error.

Examples:
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() -

doc_php
2016-02-24 16:10:31
Comments
Leave a Comment

Please login to continue.