Re: Indentation in mysql examples

From: Date: Thu, 02 May 2002 23:47:00 +0000
Subject: Re: Indentation in mysql examples
References: 1 2 3  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969345192@lists.php.net to get a copy of this message
From: "Simone Cortesi" <simone@cortesi.com> > At 00.24 03/05/02 +0200, =?iso-8859-2?Q?S=B3awomir_Pucia?= wrote: > > >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/. > > I've read that we should start at column 1 in examples: > > Take a look at: /phpdoc/RFC/coding_standards Oh, it seems that Derick haven´t read the coding_standards :( -Egon

« previous php.doc (#969345192) next »