Your IP : 216.73.216.40


Current Path : /var/www/html/venkat/electiveaug22/
Upload File :
Current File : //var/www/html/venkat/electiveaug22/sdelete.php

<?php
include("sdesign.php");
include("condition.php");
//$truncated = substr($s, 1, 2);
/*$basket = addslashes($_POST['basket']);
  $updatebasket = $basket;
  $basketpref = mysql_query("select preference from basket_elective where dept = '$truncated1'") or die ("Invalid Accessesesd !!!");
  while($row = mysql_fetch_array($basketpref)) {
  $single_basket = $row['preference'];
  }
  if($single_basket != 0) {
  $basket = 1;
  }
 */
//echo $ndate;
//echo $my_t;
if($ndate >= $my_t)// for date comparison
{
	$quer1=mysql_query("select rollno from $truncated1 where rollno='$s'") or die("Invalid Access !!!");

	if ($row = mysql_fetch_array( $quer1 )) {


		?>

			<table width="600" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
			<tr>
			<form name="form1" method="post" action="sdeletesubmit.php">
			<td>
			<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
			<tr>
			<td> <strong>Do You want Delete Your submission? If yes then <font color="red">
			<input type="submit"  value="Submit"> </td>
			</tr>
			</table>
			</form>
			</table>
			<?php
	}
	else {
		echo "<b> <center>  No Submission exist. </center> </b>";
	}
}
else {
	echo "<b> <center>  Last Date is Over. You cannot delete it. </center> </b>";
}