Thanks Bubblenut! Ok...some code to make it more clear to you:
This is the file radera_puff.php
<form method="get" action="radera_puff2.php">
<?
mysql_pconnect("db_host","db_username","db_pass"); //connect to the mySQL
mysql_select_db("my_db"); //select the db
if(!$submit)//if submit has not already been pressed
{
$result = mysql_query("select * from leftpuff order by id"); //select all the news
while($r=mysql_fetch_array($result)) //run the while loop
{
$title=$r["title"];//take out the title
$id=$r["id"];//take out the id
?>
<INPUT TYPE="RADIO" NAME="id" VALUE="<?php echo $id;?>">
<?php echo $id;?> <?php echo $title?><br>
<?
}
?>
<input type="submit" value="submit" name="Submit"></form>
<?
}?>
...and here is some code that I don´t know where to go
<?PHP
else { $sql = "$sql = "delete from news where id=\"$id\""; $result = mysql_query($sql); echo "Puff raderad!"; }
?>
Look at the urls I posted! Any ideas?