<?php @(include "config.php"); @(include "class/Advertisement.Class.php"); $Advertisement = new Advertisement(); ?> <html> <meta charset="UTF-8"> <head> <title>Example Script : Manage Advertisement</title> </head> <body> <h3>Add New Addvertisement</h3> <?php $Advertisement->DisplayMessage(); ?> <form method="post" enctype="multipart/form-data"> <div class="row"> <div>Title : </div> <input type="text" name="title" value="<?php echo @$_POST['title']; ?> " placeholder="Enter Advertisement Title" maxlength="50" size="50"> </div> <div class="row"> <div>Description : </div> <textarea name="description" maxlength="150" placehoder="Enter Advertisement Description Here" cols="39"><?php echo @$_POST['description']; ?> </textarea>