tobyw_1969
08-31-2003, 08:19 PM
Are there certain names you can't give to variables in PHP? Otherwise I can't explain why this happens...
this script works fine
<?php
$message = $_REQUEST["message"];
echo $message;
?>
but this one just shows a blank page, and doesn't write anything to the screen at all.
<?php
$drawvals = $_REQUEST["mydata"];
echo $drawvals ;
?>
Am I missing some really obvious mistake in the second code? The only other explanation I can think of is that some words are reserved - if I use 'thedata' or 'alldata' it also doesn't work...but if I use other words then it is fine.
Anyone know?
this script works fine
<?php
$message = $_REQUEST["message"];
echo $message;
?>
but this one just shows a blank page, and doesn't write anything to the screen at all.
<?php
$drawvals = $_REQUEST["mydata"];
echo $drawvals ;
?>
Am I missing some really obvious mistake in the second code? The only other explanation I can think of is that some words are reserved - if I use 'thedata' or 'alldata' it also doesn't work...but if I use other words then it is fine.
Anyone know?