php-general | 2003022

Re: [PHP] <button> and </button> From: - Edwin (copperwa11s <email protected>)
Date: 02/24/03

Hello,

"Sunfire" <rusty_81 <email protected>> wrote:

> hi..
>
> i have a button on a web page that is supposted to go to
> another web page
> when either clicked with a mouse or when someone presses enter
> on it.. :
> <button onclick="postprayer.htm" onkeypress="postprayer.htm">
> post a prayer
> </button>
> that is my basic code for the button... my problem is the fact
> that when you click the button or hit enter on it all it does
> is refresh the page if it even does that. how would i actually
> make this button load another page
> using php??

Just wondering... why would you need a <button> just to load
another page? Aren't links enough?

- E

__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php