ID: 41111 Updated by: [EMAIL PROTECTED] -Summary: Documentation Bug Reported By: theshut at gmail dot com -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Linux Gentoo PHP Version: Irrelevant New Comment:
This has been fixed in CVS and will show up after the next RU build, thank you for helping make the PHP Manual better :) Previous Comments: ------------------------------------------------------------------------ [2007-04-17 03:40:11] theshut at gmail dot com Description: ------------ http://www.php.net/manual/ru/function.mysql-result.php Parse error in example. Must be a: <?php $link = mysql_connect("localhost", "mysql_user", "mysql_password") or die("Could not connect: " . mysql_error()); $result = mysql_query("SELECT name FROM work.employee") or die("Could not query: " . mysql_error()); echo mysql_result($result,2); // outputs third employee's name mysql_close($link); ?> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41111&edit=1