lundi 13 juillet 2020

Insert multiple checkbox value into oracle using php

can someone show me an example of coding on how to insert multiple checkbox values into oracle using PHP? I want to insert multiple checkbox values into oracle and I have no idea how to do that the code for PHP. Can someone show me the code? Here my coding for the HTML form.

<form action="Gappointmentdone.php" method="post">
        <table border="1">
        <tr>
        <th rowspan="4" align="left"><div id="adjust">Service</div></th>
        <td><font size="3" color="#212F3C" face="Time News Roman">
        <input type="checkbox" name="SERVICE_NAME[]" value="GROOMING BASIC" id="p1" onclick="totalIt()"> 
        GROOMING BASIC</font></td>
        <td><font size="3" color="#212F3C" face="Time News Roman">
        <input type="checkbox" name="SERVICE_NAME[]" value="GROOMING FULL" id="p2" onclick="totalIt()"> 
        GROOMING FULL</font></td>
        <td><font size="2.9" color="#212F3C" face="Time News Roman">
        <input type="checkbox" name="SERVICE_NAME[]" value="BOARDING STANDARD ROOM" id="p3" 
        onclick="totalIt()"> BOARDING STANDARD ROOM</font></td>
        <td><font size="3" color="#212F3C" face="Time News Roman">
        <input type="checkbox" name="SERVICE_NAME[]" value="BOARDING SUITE ROOM" id="p4" onclick="totalIt()"> 
        BOARDING SUITE ROOM</font></td>
        <td><font size="3" color="#212F3C" face="Time News Roman"><input type="checkbox" 
        name="SERVICE_NAME[]" value="DENTAL SURGERY" id="p5" onclick="totalIt()"> DENTAL SURGERY</font> 
       </td>
       </tr>
       <form>



Aucun commentaire:

Enregistrer un commentaire