Jump to content

karyn

New Members
  • Posts

    1
  • Joined

  • Last visited

karyn's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. have 3 days try this.. i am about to pop-up i want to make a form has 2 submit buttons one submit to page itself (easy) and another button same form but submit tro another pge.. like this <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <form method="post" enctype="multipart/form-data" action="<?php echo $_SERVER['PHP_SELF']; ?>"> <input type="text" name="name"><br> <input type="submit" name="submit" value="Submit Form"><br> <input type="image" name="camper" onclick="submitForm('repo_.php')" value="camper" src="images/botonasis_g.png" onMouseOver="this.src='images/botonasis_c.png'" onMouseOut="this.src='images/butonasis_g.png'" class="submit_button" /> </form> <?php if(isset($_POST['submit'])) { $name = $_POST['name']; echo "User Has submitted the form and entered this name : <b> $name </b>"; echo "<br>You can use the following form again to enter a new name."; } ?> </body> </html> this cause i want make appointmnet for a doctor.. user select date and then i will make a dropdown with avalilable time (thats the submit to SELF and the submit to another page wuth date and time to make the appointmnent.. VERY VERY tnx!!!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.