Aşağıdaki PHP script pasajı $ satır [from_location_1] ve $ satır ['to_location_1'] tüm verileri görüntüleme olmadığı gerçeği dışında ... çoğunlukla çalışır.
Veriler daha sonra kat numarası / oda numarası ve ardından bir boşluk bina kodu (harf) oluşur. Örnek: NAC 1/200A. Betik (NAC) sadece bina kodunu görüntülüyor
Not: deyimi: "$ satır [from_location_1] echo"; tüm verileri gösterir.
Ben tamamen düşünüyorum ve okuyabilir her şeyi denedikten sonra stumped ...
Bu tüm verileri ve olası etrafında büyük takdir edilecektir almak göstermek için değil neyin neden olarak herhangi bir fikir ...
Teşekkürler Chris
echo '<html>';
echo '<head><title> </title>';
echo '</head>';
echo '<body>';
echo '<form method=post action=xxx>';
echo '<table border=5>';
$rows= mysql_fetch_array($result);
echo '<tr><th>CIT Number</th><td>';
echo "<input type=text disabled value=" . $rows['citnum'] . "></td></tr>";
echo '<tr><th>Serial Number</th><td>';
echo "<input type=text disabled value=" . $rows['sernum'] . "></td></tr>";
echo '<tr><th>Move Date</th><td>';
echo "<input type=text value=" . $rows['move_date_1'] . "></td></tr>";
echo '<tr><th>From</th><td>';
echo "<input type=text value=" . $rows[from_location_1] . "></td></tr>";
echo '<tr><th>To</th><td>';
echo "<input type=text value=" . $rows['to_location_1'] . "></td></tr>";
echo '<tr><th>Comment</th><td>';
echo "<input type=text value=" . $rows['comment_1'] . "></td></tr>";
echo '</td><td align="center">';
echo '</td></tr></table>';
echo '<input type=submit value="Click To update">';
echo '</form>';
echo '</body>';
echo '</html>';
mysql_close($dbconnect);