Modified yp_next example, it was still using the inexistent yp_err* functions

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@43720 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jesus M. Castagnetto 2001-03-17 01:11:54 +00:00
parent f76b667a29
commit 014d61c8d5

View file

@ -256,7 +256,8 @@ echo "Matched entry is: " . $entry;
$entry = yp_next ($domain, "passwd.byname", "joe");
if (!$entry) {
echo yp_errno() . ": " . yp_err_string();
echo "No more entries found\n";
<!-- echo yp_errno() . ": " . yp_err_string(); -->
}
$key = key ($entry);