how to do alert message box when the user press on the button. The messages will be different if he select different status mode in the drop down menu.
This is code of the selection
select name="status" id="status">
<option value="Pending" <?php if (!(strcmp("Pend ing", $row_ad_time['status']))) {echo "SELECTED"; } ?>>Pending</option>
<option value="Approved " <?php if (!(strcmp("Appr oved", $row_ad_time['status']))) {echo "SELECTED"; } ?>>Approved</option>
<option value="Rejected " <?php if (!(strcmp("Reje cted", $row_ad_time['status']))) {echo "SELECTED"; } ?>>Rejected</option>
</select>
This is code of the selection
select name="status" id="status">
<option value="Pending" <?php if (!(strcmp("Pend ing", $row_ad_time['status']))) {echo "SELECTED"; } ?>>Pending</option>
<option value="Approved " <?php if (!(strcmp("Appr oved", $row_ad_time['status']))) {echo "SELECTED"; } ?>>Approved</option>
<option value="Rejected " <?php if (!(strcmp("Reje cted", $row_ad_time['status']))) {echo "SELECTED"; } ?>>Rejected</option>
</select>
Comment