hi to all,
i am having some trouble outputting strings in the format i would like, its no big deal but i would like to know why this is happening.
i am generating the pages through one function as below:
only $response and $postAmble are not being displayed as i would like
<code>
/**
Function that generates the response pages
/
function response($response, $postAmble, $pageHeader){
global $page;
$page = $pageHeader;
include('header.inc.php');
print('<BR>
<DIV class="reason">' .
strtolower($response) .
'</DIV>
<BR>
<DIV class="postAmble">' .
strtolower($postAmble) .
'</DIV>
<BR>
<DIV class="picCentre">
<input type="button" name="back" id="back" value="Back" onClick="javascript:history.go(-1)">
');
include('footer.inc.php');
print ('
</BODY>
</HTML>
');
}
</code>
however, the strtolower($response) and $response both result in a string that looks like 'Hello There', the first letters of each word are always capitalised :S
does any one have any ideas, any help would be greatly appreciated.
kind regards,
g00fy