Hello.
Can I add any data directly from table into data base using dreamviewer 8 by php?
i mean in design view, i add table. then when i enter a data in the cell, so can i add this cell text to a field in DB table?
Also how can i add extra row when someone clicks the link "Cleick here to add another row".
The code is;
<h1 align="center">PATIENT RECORD </h1>
<p align="center">Enter New Patient Record. </p>
<form action="" method="get">
<table width="559" border="1" align="center">
<tr>
<td><label>Patient ID :
<input type="text" name="pid" />
</label></td>
<td><label>Patient Name :
<input type="text" name="pname" />
</label></td>
</tr>
<tr>
<td><label>Father/Husband Name :
<input type="text" name="fhname" />
</label></td>
<td><label>Gender :
<select name="gender">
</select>
</label></td>
</tr>
<tr>
<td><label>Age :
<input type="text" name="age" />
</label></td>
<td><label>Admitt Date :
<input type="text" name="adate" />
</label></td>
</tr>
<tr>
<td><label>Discharge Date :
<input type="text" name="ddate" />
</label></td>
<td><label>Visit Number :
<input type="text" name="visit" />
</label></td>
</tr>
<tr>
<td><label>Treated By :
<select name="tby">
</select>
</label></td>
<td> </td>
</tr>
<tr>
<td colspan="2"><label>Issue/ Tests :
<textarea name="issue" wrap="physical"></textarea>
</label></td>
</tr>
</table>
<p>Medicines Refered and Surgical Equipments used: </p>
<table width="559" border="1" align="center">
<tr>
<td width="312"><strong>Medicine</strong></td>
<td width="80"><strong>Quantity</strong></td>
<td width="65"><strong>Rate</strong></td>
<td width="74"><strong>Total</strong></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
<p>Click here to add another row. </p>
<p> </p>
</form>