1Unreal
02-27-2009, 02:36 PM
Ive made a little script which queries a database. With each result the user needs to do 1 of two things. I want them to be able to chose between these then the data to be sent to another page to be handled.
The problem I have is how would I firstly send all this data to another page? Secondly how would I handle it?
while($row = mysql_fetch_assoc($rs)) {
echo '<tr>';
echo '<td><a href="'.rawurldecode($row['url']).'" target="_blank">'.rawurldecode($row['url']).'</a></td>';
echo '<td><input type="radio" name="'.$row['id].'" value="yes">|<input type="radio" name="'.$row['id].'" value="no"></td>';
echo '</tr>';
}
So, how would I do it?
By the way, this is not exactly a vB question. Just general PHP
The problem I have is how would I firstly send all this data to another page? Secondly how would I handle it?
while($row = mysql_fetch_assoc($rs)) {
echo '<tr>';
echo '<td><a href="'.rawurldecode($row['url']).'" target="_blank">'.rawurldecode($row['url']).'</a></td>';
echo '<td><input type="radio" name="'.$row['id].'" value="yes">|<input type="radio" name="'.$row['id].'" value="no"></td>';
echo '</tr>';
}
So, how would I do it?
By the way, this is not exactly a vB question. Just general PHP