Hi I am busy making a small search engine that gets info out of my DB. The next thing that has to happen, is that every searched record has the option to edit it. So I have to give every record a submit button with a unique name. This works fine, untill I press the button. Then every button has the same name.
create form:"
<form sutff>
$t=0;
while (){<br/>
$t+=1;<br/>
input type="Submit" name="$t"/><br/>
}</form>
tek bir düğmeye basıldığında:
while($_POST[$t]>0){
if (isset($_POST[$t])) {
do stuff
}
else{
$_POST[$t]-=1;
}
}
acolades ve'' düşünmüyorum ve "" Bunu ben kendim hallederim.