Jump to content

Numbers... I`m stumped


Mr_J

Recommended Posts

Parse error: syntax error, unexpected T_VARIABLE in /usr/www/users/xxx/xxx/load3.php on line 2

 

<?php //Expressions:
$number = 10 ;//$number = "10" ;]//$number = '10' ;// does not work
$value = 3 ;    //$value = "3" ;//$value = '3' ;// does not work
$sum = $number . $value /n;  //$sum = $number + $value// does not work
print $sum;   //echo $sum; // does not work
?>
<html>
<body>
<a href="http://www.xxx.com/xxx/load4.php">NEXT</a> <!-- just to test... !-->
<a href="Javascript:history.go(-1)">BACK</a>  <!-- just to test... !-->
</body>
</html>

Link to comment
https://forums.phpfreaks.com/topic/123890-numbers-im-stumped/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.