I am wondering if i am able to insert 2 entries from a form to mysql.
</tr> <tr> <td bgcolor="#eeeeff"> Is it a shared devices?<br> <font color='#F62817'>** If yes, please indicate the shared device num. </font> </td> <td bgcolor="#eeeeff"> <SELECT name="shared"> <option value="No"SELECTED>No</option> <option value="Yes">Yes</option> <INPUT type = "TEXT" name = name = "shared_remark" value = "NIL"> </tr>
this the code, there are 2 questions asked and i want to the user to key in shared num if they choose "yes" option.
this 2 entries name (shared and shared_remark) will be inserted into the same field name of mysql. Can this be done?
I am trying to do this but doesnt seem to work.
echo $shared + $shared_remark ;