Inserting a PHP variable or URL into...

User 431630 Photo


Registered User
1 post

We use a single form on all pages of our website. When the form is filled out, we would like to know what page the user was on. We have a PHP variable, $title, that holds the name of the page. We would like to place that value into the notification email. If that is too difficult, we could also settle for placing the URL of the page from which the form was filled out. Thanks for any direction on how to make this happen.
User 187934 Photo


Senior Advisor
20,271 posts

Hi Greg,
Here I'm using JQuery but you can easily change that.
http://www.coffeecup.com/forums/web-for … post212728
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.