如何从网络应用程序打印帐单? HTML,PHP和MYSQL的网页设计。
在下面,PHP代码在网页中打印结果,我想将结果打印为硬拷贝。 那我该怎么办?
while($row = mysql_fetch_array($result)){
echo "<table border='2' style='width:100%'> ";
echo "<br>";
echo "<br>";
echo $row['finame'];
echo "<br>";
echo "<br>";
echo $row['scname'];
echo "<br>";
echo "<br>";
echo $row['file_id'];
echo "<br>";
echo "<br>";
echo $row['na_id'];
echo "<br> " ;
echo "<br> " ;
echo $row['phone'];
echo "<br>";
echo "<br> " ;
echo $row['sex'];
echo "<br> " ;
echo "<br> " ;
echo $row['placeOfBirth'];
echo "<br>";
echo "<br>";
echo $row['birthday