From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.2.3
PHP Bug Type:     Documentation problem
Bug description:  mysql_error in mysql code examples

Hello, 
I answer questions on a php help bbs (www.phpworld.com).  
One of the most common problems reported is that the users 
don't know why their database calls are not working.  
Usually they have copied the code right out of the 
examples (e.g. mysql_connect()), which do not utilize 
mysql_error().  I was wondering if these examples could be 
changed to use mysql_error() and thus reduce newbie 
confusion. 
Thank you for your time. 
-- 
Edit bug report at http://bugs.php.net/?id=20743&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20743&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20743&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20743&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20743&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20743&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20743&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20743&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20743&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20743&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20743&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20743&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20743&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20743&r=isapi


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to