Doc #61845 [Opn->Csd]: confusing example title

From: Date: Fri, 03 Aug 2012 17:49:54 +0000
Subject: Doc #61845 [Opn->Csd]: confusing example title
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-8688@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61845&edit=1

 ID:                 61845
 User updated by:    fmwdeveloper at gmail dot com
 Reported by:        fmwdeveloper at gmail dot com
 Summary:            confusing example title
-Status:             Open
+Status:             Closed
 Type:               Documentation Problem
 Package:            MySQLi related
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

n/a


Previous Comments:
------------------------------------------------------------------------
[2012-04-24 21:19:42] fmwdeveloper at gmail dot com

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 this bug report at https://bugs.php.net/bug.php?id=61845&edit=1


Thread (5 messages)

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