>> 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-


Reply via email to