Thanks again for that bit of code, unfortunately Im lacking in the knowledge to make it do anything else than you described here.
As soon as I try to go one step further I take about a 4km run backward.
I can get the code to the next page. I want to be able to place the list of users Im planning on deleting in to a table, along these lines:
$query =@mysql_query("select id, user FROM users") or die ("looks like Ive screwed up again");
<table>
<?
if (is_array($_POST['id'])){
if(sizeof($_POST['id'])>0){
//make a tr/td
<tr><td>Sure you want to delete the following?</td></tr>
foreach($_POST['id'] as $id_del){
echo "<tr><td>".$id_del."</td></tr>";
//returns for example 3, 6, 8 as one would expect
}
}else{
echo "No users selected"}
}
Now how would i get it to say:
echo the user relating to $id_del ?
I played with
$query =@mysql_query("select id, user FROM users" WHERE id='$id_del')
but to no avail obviously.
In the same way Im lost as to how i would then carry on to delete the users in the same manner
(DELETE FROM users WHERE id='$id_del')
or something.
As always grateful for any pointers.