while($record= mysqli_fetch_array($myData)){
echo "<form action=cpoarea1update.php method=post>";
echo "<tr>";
echo "<td><label>". $record['CODE'] . " </td>";
echo "<td>". "<input type=text name=dt value =" . $record['DOCUMENT_TITLE']. " </td>";
echo "<td>". "<input type=text name=rv value=" . $record['REVISION']. " </td>";
echo "<td>". "<input type=date name=dateis value=" . $record['DATE_OF_ISSUE']. " </td>";
echo "<td>". "<input type=hidden name=hidden value=" . $record['CODE']. " </td>";
echo "<td>". "<input type=submit name=update value=update " . " </td>";
echo "</tr>";
echo "</form>";
}
echo "</table>";
例如,如果MySQL中的數據是「你好我的名字是Maxim」,我只在文本框中看到「你好」。有什麼問題?在此先感謝無法讀取空間後的值?
你能後的var_dump($記錄); ? –