Exemple #1
0
                    </td>
                </tr>         
                <tr class="">
                    <td valign="top"> ADDRESS :</td><td><textarea  name="client_address" id="client_address" class=""> </textarea></td>
                </tr>
                <tr>
                    <td></td><td>
                        <input type="submit"  id="submit_client" value="Submit" />
                    </td>
                </tr>
            </table>
        </form>
    </div>
    <?php 
//$created='';
?>
    <?php 
echo "<div style='Color:#FF0000; margin-top:15px;font-weight:bold; '>" . $_GET['created'] . "</div>";
?>

<?php 
if ($_POST) {
    $lawfirm = $_POST['lawfirm'];
    $lawfirm_code = $_POST['lawfirm_code'];
    $client_email = $_POST['client_email'];
    $client_address = $_POST['client_address'];
    session_start();
    include "class.docket.php";
    $obj = new docket();
    $obj->add_client_lawfirm($lawfirm, $lawfirm_code, $client_email, $client_address);
}