tnx! it works now so now i know what i need to do with buttons that are self created now...
----- Original Message ----- From: "erich" <[EMAIL PROTECTED]> To: "Sunfire" <[EMAIL PROTECTED]> Sent: Monday, February 24, 2003 12:11 AM Subject: Re: [PHP] <button> and </button> > i would try > <input type="button" value="post prayer" > onclick="window.location='postprayer.htm';" > onkeypress="window.location='postprayer.htm'"> > > Sunfire 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?? > > > >tnx > > > > > > > > > >--- > >Outgoing mail is certified Virus Free. > >Checked by AVG anti-virus system (http://www.grisoft.com). > >Version: 6.0.443 / Virus Database: 248 - Release Date: 1/11/2003 > > > > > > > > > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.443 / Virus Database: 248 - Release Date: 1/11/2003 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php