Form to load automatically
Posted: Tue Jan 05, 2010 9:54 am
I have a form that I want to load automatically when the page loads. The basic code for this form is:
Is there a way I could use PHP to make this form load automatically when the page loads?? I just really want the $qty value to be updated and this seems like the best way of doing this!
Russ
Code: Select all
<form action="basket.php?action=update" method="post" id="cart">
<input type="text" name="qty'.$id.'" value="'.$qty.'" size="3" maxlength="3" />
<button type="submit">Update cart</button>
</form>Russ