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
1
2
3
4
<?php
    $number = yp_order($domain$mapname);
    echo "Order number for this map is: " $number;
?>
See also:

yp_get_default_domain() -

doc_php
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.