嘿伙计们,我一直在阅读和尝试,不能让这个该死的代码工作..
所以基本上下面的代码就是我的整个文件。
代码执行此操作:当我点击<?php
include("db.php");
$query = "SELECT source, SUM(income.inamount) FROM income";
$result = mysql_query($query) or die(mysql_error());
// Print out result
while($row = mysql_fetch_array($result)){
echo "Total Sales = N". $row['SUM(inamount)'];
echo "<br />";
}
?>
<?php
include("db.php");
$query = "SELECT amount, SUM(exp.amount) FROM exp";
$result = mysql_query($query) or die(mysql_error());
// Print out result
while($row = mysql_fetch_array($result)){
echo "Total Expenditure = N". $row['SUM(amount)'];
echo "<br />";
}
?>
时,Bus
会被复制到Bus
,而不是专注于input field
,这是我的问题,它被复制它不想按Enter键,当我点击公共汽车或汽车时如何强制输入?任何想法
input field
提前致谢