There are some sections of my canned php script that look kind of "wonky" to me.
I'm a php beginner.
Can some of you vets look at this and tell me if the formatting is ok?
There are extra spaces here. Can I take them out?
<?#//v.1.0.1
#///////////////////////////////////////////////////////
#// COPYRIGHT 2002 PHPAuction.org ALL RIGHTS RESERVED//
#// For Source code for the GPL version go to //
#// [url]http://phpauction.org[/url] and download //
#///////////////////////////////////////////////////////
//-- Function definition section
include "./includes/dates.inc.php";
include "maintenance.php";
include "includes/banners.inc.php";
#//
if(basename($PHP_SELF) != "error.php")
{
include "includes/stats.inc.php";
}
?>
Also - later in the script are tons of print functions like:
<? print $SETTINGS[sitename]?>
for example. Should they be on their own line?
Terry