[prog] PHP and cancel buttons

Sue Stones suzo at spin.net.au
Thu Jul 1 19:18:23 EST 2004


Rachel McConnell wrote:
> Consider the following code:
> 
> <form action="{URL of the page you want to cancel TO}">
>     <input type="submit" value="Cancel"/>
> </form>
> 
> This is more wordy, and will require a surrounding table if the Cancel 
> and Submit buttons need to be side-by-side, but it doesn't have either 
> of the above drawbacks.

Ah so if I understand this correctly, the cancel button is in another 
form to the rest of the page.

I do prefer the idea of specifying exact ally where I want to go back to.

Thanks everyone.

sue


More information about the Programming mailing list