Hi, I'm trying to figure this php stuff out, but, i'm too right brained
or something (or is it left?).

Here's what I'm trying to do:

When someone lands on my site I want them to enter a
code (which they will get from one of my ads).

I want that code to carry over to my one page website and
then through the order page (probably paypal) and then to
a cgi registration form which will email the registration data
including the code number to me.

Does this make sense and can it work?

Any help would be much appreciated!

Rick

You can set a cookie if your user will leave the site (probably will for a monent if paypal is being used) or you can use a session if all pages reside on your server.

Check out php.net and search for setcookie and/or session.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.