Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to keep the post variable in a different webpage?


bbyyaa

Recommended Posts

Posted

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?

Posted
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.

Posted
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.

Posted

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>

Posted

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...