How do I get my results to display in a html form? Some fields I don't want my end users to be able to edit. Others I do. Is there a way to specify what can be edited and not.
$queryOrders = "select ponum, [name], addr1, addr2, city, [state], zip,
country, shipvia
from twhapps.dbo.dsi_$shortname
where id = $id";
$resultItemData = sqlsrv_query($con, $queryOrders);
$result=sqlsrv_fetch_array($resultItemData);
var_dump($result);
<form>
Ponum:<br>
<input type="text" Ponum = "ponum"> <br>
Name: <br>
<input type="text" Name = "name"
Aucun commentaire:
Enregistrer un commentaire