Current Path : home/irplbiz/public_html/universalleather/admin/ |
Current File : /home/irplbiz/public_html/universalleather/admin/delete_photo.php |
<?php ob_start(); session_start(); if(!isset($_SESSION['username'])) { header("location: index.php?login=expired"); } include('includes/config.php'); $sql = "DELETE FROM `".$ptr."gallery` WHERE `gal_id` = '".$_REQUEST['id']."'"; mysql_query($sql); header("location: add_photo.php"); ?>