By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,264 Members | 1,769 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,264 IT Pros & Developers. It's quick & easy.

Pass data to another page?

P: 7
I need to pass data from one web page to another.

For example I have 10 products, when the user clicks the price of the product I need to load a new page which can display data from the first page such as description, price, quantity etc.

not sure if i need to do this in PHP or if it can be done in HTML?

Any help appreciated.

May 13 '09 #1
Share this Question
Share on Google+
2 Replies

P: 162
you my have to use PHP or other web script. but cant do only using HTML
need to pass variables with form submission using hidden field tags .. must looks on

php _post _get _request

html/ php hidden field
May 14 '09 #2

Expert Mod 15k+
P: 16,027
It can't be done with HTML, but you can use JavaScript. However, it wouldn't be good to depend on JavaScript for basic functionality.

I would suggest you use PHP and only pass a unique identifier of the product which you can use to get all the details of the product on the next page. Would you need help with this? If so, I can move this thread to the PHP forum for you.
May 14 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.