Well this page worked before dreamweaver did its thing but now all i get is a 500 error when i try and access it
<?php
function square($num)
{
$num *= $num;
return $num;
}
$someNum = 6;
echo(Variable before going into the function = . $someNum);
$results = square($someNum);
echo(<br>Variable after going into the
function = . $someNum . <br>Results of
function = .$results);
?>
here is what my log file says.
#Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-status
2008-10-09 18:13:31 W3SVC1 172.16.0.4 GET /numbers.php - 80 - 172.16.0.23 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+5.1;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.04506.648;+.NET+CLR+3.5.21022;+InfoPath.2) 500 0 0