Hey erybody! I'm making a CMS and right now I'm working on the avatars.
When they upload their avatars, it automatically sets their approved status to false, because i want to be able to approve/deny them in the acp.
This is what I have for the Approve/deny portion, since i already got the uploading script all taken care of.

PHP Code: 
$picture mysql_query("SELECT * FROM images WHERE approved='false'");
echo 
"<form action='approve.php?do=submit' method='post'>"
while($result mysql_fetch_array($picture)){
echo 
"<img src='../".$result['path']."'>";
echo 
"<input type='checkbox' id='".$result['id']."' />
}
echo "
</form>"; 
Approve.php?do=submit :
PHP Code: 
$do $_GET['do'];
//this says whats going to be in approve.php?do=submit
if($do == submit){
//code here

I've been stuck on this for a few hours trying to figure and google a way on how to get more than one $_POST thingies and update them in the mysql.
Im not sure if thats a good description of my problem or not lol
narutoroot Reviewed by narutoroot on . PHP Approval/Deny help Hey erybody! I'm making a CMS and right now I'm working on the avatars. When they upload their avatars, it automatically sets their approved status to false, because i want to be able to approve/deny them in the acp. This is what I have for the Approve/deny portion, since i already got the uploading script all taken care of. $picture = mysql_query("SELECT * FROM images WHERE approved='false'"); echo "<form action='approve.php?do=submit' method='post'>" while($result = Rating: 5