主题:怎么会算出这样子的结果呢????
<?php
error_reporting(E_ALL);
echo date("Y m D jS H:i:s:A L I");
echo"<br>";
$bookname='english';
$booktype='study';
$bookauth='meng_meng';
$bookpublish='guangzhou';
$bookprice=30;
$bookcount=3;
$bookcost=$bookprice*$bookprice;
echo "You had bought the book:\t$bookname:<br>";
echo "The book type :\t$booktype:<br>";
echo "The book authourist :\t$bookauth:<br>";
echo "The book publish :\t$bookpublish:<br>";
echo "The book price:\t$bookprice:<br>";
echo "The book count:\t$bookcount:<br>";
echo "The total cost:\t$bookcost:<br>";
?>[em10][em10]
The total cost :900
??????
error_reporting(E_ALL);
echo date("Y m D jS H:i:s:A L I");
echo"<br>";
$bookname='english';
$booktype='study';
$bookauth='meng_meng';
$bookpublish='guangzhou';
$bookprice=30;
$bookcount=3;
$bookcost=$bookprice*$bookprice;
echo "You had bought the book:\t$bookname:<br>";
echo "The book type :\t$booktype:<br>";
echo "The book authourist :\t$bookauth:<br>";
echo "The book publish :\t$bookpublish:<br>";
echo "The book price:\t$bookprice:<br>";
echo "The book count:\t$bookcount:<br>";
echo "The total cost:\t$bookcost:<br>";
?>[em10][em10]
The total cost :900
??????