bbyyaa Posted October 17, 2008 Posted October 17, 2008 Hi, I have a form in webpage A asking customer to enter a number. The action of the form is going to admin/categories.php using POST. I see the number when the form page take me automatically to admin/categories.php the first time. But if I do something using the admin page then the number turns null. How do I keep the number as long as I am using admin?
spooks Posted October 17, 2008 Posted October 17, 2008 Hi, I have a form in webpage A asking customer to enter a number. The action of the form is going to admin/categories.php using POST. I see the number when the form page take me automatically to admin/categories.php the first time. But if I do something using the admin page then the number turns null. How do I keep the number as long as I am using admin? If you look in admin/categories.php there is a section that does re-post all vars, use that technique. Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
spooks Posted October 17, 2008 Posted October 17, 2008 Hi, I have a form in webpage A asking customer to enter a number. The action of the form is going to admin/categories.php using POST. I see the number when the form page take me automatically to admin/categories.php the first time. But if I do something using the admin page then the number turns null. How do I keep the number as long as I am using admin? Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
bbyyaa Posted October 17, 2008 Author Posted October 17, 2008 Can you walk me step by step? I have the following in webpage A. How do I code in categories.php to keep the value of 'owner'? <form action="categories.php" method="post"> Owner number <input name="owner" type="text" size="5" maxlength="5" /> <input type="submit" name"submit" id="submit" value="Send" /> <input type="reset" name="reset" id="reset" value="Reset" /> </form>
spooks Posted October 17, 2008 Posted October 17, 2008 Sorry, I don't do step by step, too busy. Best examine code I mentioned & learn, it fairly easy. PHP Tuition http://us.php.net/tut.php Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.