Doc #61845 [NEW]: confusing example title

From: Date: Tue, 24 Apr 2012 21:19:43 +0000
Subject: Doc #61845 [NEW]: confusing example title
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-8296@lists.php.net to get a copy of this message
From:             
Operating system: 
PHP version:      Irrelevant
Package:          MySQLi related
Bug Type:         Documentation Problem
Bug description:confusing example title

Description:
------------
---
From manual page: http://www.php.net/mysqli.quickstart.statements
---

Example #1 reads "Example #1 Bad coding style".   

I'm confused as to why an example with bad coding style is here.  There is
no 
reference to bad coding style besides in the title so there is no
explanation.  

Is the purpose of the example just to show how to quickly connect to the db
and 
create a table?  Or is it to show an example of what not to do?

Seems like an example with good coding style should be put up there and the
title 
should read something like "Example #1 Connect to database and create
table"


-- 
Edit bug report at https://bugs.php.net/bug.php?id=61845&edit=1
-- 
Try a snapshot (PHP 5.4):            https://bugs.php.net/fix.php?id=61845&r=trysnapshot54
Try a snapshot (PHP 5.3):            https://bugs.php.net/fix.php?id=61845&r=trysnapshot53
Try a snapshot (trunk):              https://bugs.php.net/fix.php?id=61845&r=trysnapshottrunk
Fixed in SVN:                        https://bugs.php.net/fix.php?id=61845&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61845&r=needdocs
Fixed in release:                    https://bugs.php.net/fix.php?id=61845&r=alreadyfixed
Need backtrace:                      https://bugs.php.net/fix.php?id=61845&r=needtrace
Need Reproduce Script:               https://bugs.php.net/fix.php?id=61845&r=needscript
Try newer version:                   https://bugs.php.net/fix.php?id=61845&r=oldversion
Not developer issue:                 https://bugs.php.net/fix.php?id=61845&r=support
Expected behavior:                   https://bugs.php.net/fix.php?id=61845&r=notwrong
Not enough info:                     https://bugs.php.net/fix.php?id=61845&r=notenoughinfo
Submitted twice:                     https://bugs.php.net/fix.php?id=61845&r=submittedtwice
register_globals:                    https://bugs.php.net/fix.php?id=61845&r=globals
PHP 4 support discontinued:          https://bugs.php.net/fix.php?id=61845&r=php4
Daylight Savings:                    https://bugs.php.net/fix.php?id=61845&r=dst
IIS Stability:                       https://bugs.php.net/fix.php?id=61845&r=isapi
Install GNU Sed:                     https://bugs.php.net/fix.php?id=61845&r=gnused
Floating point limitations:          https://bugs.php.net/fix.php?id=61845&r=float
No Zend Extensions:                  https://bugs.php.net/fix.php?id=61845&r=nozend
MySQL Configuration Error:           https://bugs.php.net/fix.php?id=61845&r=mysqlcfg



Thread (5 messages)

« previous php.doc.bugs (#8296) next »