From: <ph...@lo...> - 2016-11-06 21:20:16
|
Relaxed either way ... its a Do-ocracy https://communitywiki.org/wiki/DoOcracy Phil On 2016-11-06 13:23, Rafael Chacón wrote: > Hi, > > When i was fixing SupplierInquiry.php, I had to replace printf() with > plain list echo using single-quotes. The reason is that printf() uses > % characters as "special" characters (e.g. when the text to print has > a ""Includes a 25% discount" character). > > Also, I replaced printf() with plain list echo using single-quotes in > Dashboard.php and SupplierPriceList.php. > > The results are: less lines, a little less time, and "more readable" > code. The last one, is my personal opinion. > > If all agree, it is better to continue using a plain list echo using > single-quotes instead a printf(). > > Comments ? > > Best regards, Rafael. > |