如何使用此代碼更改字體顏色?我只是在尋找一個簡單的解決方案,但如果你還想建議如何將其重寫爲SQL注入證明,我也會很感激。請幫助,因爲我還在學習。使用數組更改字體顏色,字體大小
echo "<table>";
echo "<table border='0' width='800' align='center' >";
echo "<td width='40%' align='center'></td>
<td width='20%' align='center'></td>
<td width='40%' align='center'></td>";
echo "</tr>";
$row_number = 1;
while ($row = mysql_fetch_array($result)) {
$id_actor = $row["id_actor"];
$idfilm = $row["idfilm"];
$filmTitle = $row["filmTitle"];
$filmRole = $row["filmRole"];
$filmDirector = $row["filmDirector"];
for($i = 0; $i < 3; $i++) {
echo "<td> $row[$i]</td>";
}
echo "</tr>";
$row_number++;
}
echo "</table>";
謝謝你的工作。 – user2714558