This topic is locked

PHP ettiquette

6/29/2006 8:41:20 AM
PHPRunner General questions
O
osluk author

Where I am making chnages to the PHP

is the following a good pratice way of being abel

to track my changes. Based on http://www.w3schools.com/php/php_syntax.asp
Thanks in advance

To the PHP literate
Mod at Project URL/db-2005/AdminD/include_functions.php lines 731 to 744
/ // OSL removed 13:00 Thur 29 June

else if($format == FORMAT_PERCENT)

$ret = round($data[$field]
100)."%";

/
// START added by OSL 13:00 Thur 29 June 2006

else if($format == FORMAT_PERCENT)

{

if($data[$field])

$ret = round($data[$field]
100,2)."%";

else

echo "N/A";

}

// END added by OSL 13:00 Thur 29 June 2006