Hello,
I'd like to add a PHP value into the value field of a form which will then be sumitted to process via memberlist.php. The field is hidden. How do i add PHP code to a form as this doesn't currently work:
Code:
<FORM METHOD="POST" ACTION="memberlist.php">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><?php echo $row['username']; ?></td>
<td><input type="text" name="userquery" value="'<?php $row['username']; ?>'"></td>
<td><input type="submit" name="Submit" value="Submit"></td>
</tr>
</table>
</form>
The PHP/SQL code then loops around.
Thanks