How To Pass Multiple lines of data between pages

Hello All,

I have a requirement to pass shopping cart contents to checkout page. And same has to to be sent to the vendor through email.

Kindly, suggest how can I pass the contents between pages and then send them through email.

Thanks,
Nitin

This is done using PHP, typically using: $_GET, $_POST or filter_input

http://www.phpro.org/tutorials/Filtering-Data-with-PHP.html#22

Again, use PHP - mail function

I’ve moved your question to the PHP forum

1 Like

You can store the data in sessions.
session_start() - starts a new session or resume an active one.
Then you can set or retrieve values from the $_SESSION superglobal array.
If you want to keep the data for longer terms, use a database/

1 Like

Good point. I was thinking more in terms of forms.

thanks, for reply but I was confused as it has dynamic multiple lines of data. Cookies?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.