Re: Indentation in mysql examples
| From: | Sławomir Pucia | Date: | Thu, 02 May 2002 22:24:02 +0000 |
| Subject: | Re: Indentation in mysql examples | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969345189@lists.php.net to get a copy of this message | ||
>> Could someone (maybe Derick) please explain why indentation of many
>> (half?) examples in mysql.xml (revision 1.101) have been changed?
>> Now we have half of the examples indented (4 spaces) and half not.
>> Now I'm confused with applying these changes to pl/. IMHO we should
>> go back to non-indented examples (as in the rest of chapters).
>
> Since the beginning of the English PHP Manual, there have been 4
> spaces in examples. You can correct this in en/ and use it in the
> pl/ tree.
Probably you didn't get the point.
Since 1.101 many examples look like...
<?php
/* Connecting, selecting database */
$link = mysql_connect("mysql_host", "mysql_user",
"mysql_password")
or die("Could not connect");
print "Connected successfully";
[...]
Until 1.101 they looked like...
<?php
/* Connecting, selecting database */
$link = mysql_connect("mysql_host", "mysql_user", "mysql_password")
or die("Could not connect");
print "Connected successfully";
[...]
The question is whether or not to use these 4 spaces in each line. If yes, I
will correct the rest of mysql related files, and use it in pl/.
slawek-