Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. stealth71

    Passing variable to new page?

    Thank You. It's great having such geniuses around to help!
  2. stealth71

    Passing variable to new page?

    For security purposes I am wondering when these variables will be erased and where they are stored during the session?
  3. stealth71

    Passing variable to new page?

    I think I need to use $_SESSION because my form has: action="<? echo $_SERVER['PHP_SELF']; ?>" I do this to check the info in the fields before moving on. How do you retrieve the info from the SESSION variable on the next page?
  4. stealth71

    Passing variable to new page?

    Is there any way to pass variables to a new page without putting all of them in a query string? I have a large form that the user must fill out. Then I want to move the info into a format easier to read ie. without text boxes and have the user verify this info before it is submitted to the...
  5. stealth71

    How to link html &lt;a&gt; to PHP???

    I have a page for a mysql database that just lists everything in the database in a table. I want to be able to click on the column name and sort the table by that attribute. I know how to sort the database using mysql commands through PHP. The Problem is I don't know how to call the PHP...
  6. stealth71

    Keep form info from disappearing?

    Is there a way to do this with radio buttons?
  7. stealth71

    Keep form info from disappearing?

    I don't quite understand what you are doing? Do you mind explaining a little more?
  8. stealth71

    Keep form info from disappearing?

    Thanks for your help. I got it to work with a state dropdown too. <select name="state"> <option value="<?=$state?>"><?=$state?></option> <option value="AL">AL</option> <option value="AK">AK</option> <option value="AZ">AZ</option>...
  9. stealth71

    Keep form info from disappearing?

    You all are great. What can I do about a textarea that I have is there anyway to do it with that?
  10. stealth71

    Keep form info from disappearing?

    OK thanks for the help jpadie I found the solution. I did what you told me but it filled the field with </br> so I set $name = ""; at the top now it works great. Thank You again for your prompt response this has been bugging me for an hour. Here is the altered code if anyone needs it in the...
  11. stealth71

    Keep form info from disappearing?

    <?php if(isset($_POST['submit'])){ if(isset($_POST['agree2']) && $_POST['agree2']=='yes'){ header("Location: sucess.php"); exit; }else{ print "<script language='JavaScript'>\n"; print "alert('You must agree to submit.')\n"; print "</script>\n"; } } ?> <body> <html>...
  12. stealth71

    Keep form info from disappearing?

    I have a form on a page at the bottom I have a checkbox to agree to some rules before the info is submitted to the db. At the top in the <? I Check if submitted and then check the status of the checkbox. If the checkbox has been checked then it proceeds if not a javascript alert appears...
  13. stealth71

    Basic php? How to forward to new page?

    Thanks for the reply. I wasn't looking for a free lunch I searched and couldn't find what I was looking for. But thank you.
  14. stealth71

    Basic php? How to forward to new page?

    I have a form on a php page with a form: <form name="approve" action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST"> I agree to the terms and conditions of this Agreement: <input type="checkbox" name="agree" value="ON"> <input type="submit" value="Submit">...

Part and Inventory Search

Back
Top