Page 1 of 1

Hard to explain...

Posted: Sat Jul 19, 2003 7:38 am
by nmotion
It's kind of hard to explain so here is what I want to do in ASP code. How do you do this in PHP?

Code: Select all

counter = 1

IF Request.form("del" & counter & "") = 1 THEN
END IF

counter = counter+1

Posted: Sat Jul 19, 2003 4:42 pm
by daven
$counter=1;
if($_REQUEST['del']){
$counter++;
}

// $_REQUEST['del'] is either a post or get variable from a form. I do not know why you have the '& " "', o I left it out of the code snippet

Posted: Mon Jul 21, 2003 3:17 am
by twigletmac
Moved to PHP - Normal - please take care to post in the most appropriate forum.

Mac