yp_order

(PHP 4, PHP 5 < 5.1.0)

yp_orderReturns the order number for a map

Descrierea

yp_order ( string $domain , string $map ) : int

Gets the order number for a map.

Parametri

domain

map

Valorile întoarse

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

Exemple

Example #1 Example for the NIS order

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

A se vedea și