<?php
$retrive=mysql_query("SELECT * FROM oes.questions;");
$questions=mysql_fetch_array($retrive);
?>
<form action="delete.php" method="post">
<input type="checkbox" name="del" value=<?php $questions["q_no"] ?> /><?php echo $questions["q_no"]; ?>
<input type="submit" value="submit"/>
<?php
if(isset($_POST["del"]))
{
echo $_POST["del"];
}
?>
I want to use delete ($_POST["del"]) function but for debugging I used echo and found that it prints '/' .