Display Query String Parameters in web page
-
I am trying to figure out how to display the query string parameters that are passed back to my transaction complete page from my shopping cart. (http://www.smartseatdiningchaircovers.com.) I’m not coding expert but have managed to tweak html and php to build the site. I have never written javascript.
I have spent a good amount of time trying to copy and use javascript code created for the purpose of parsing URL data but I must be misunderstanding something basic because I am not having any success displaying the variables on the web page. I do not know if the problem is getting the variables from the URL or displaying them on the page or both.
It seems that there has to be some simple code I can paste into the wordpress html editor that will allow me to read the variables from the URL and display them on the webpage.
The URL comes in the form:
http://www.smartseatdiningchaircovers.com/aaa/aaa/?utm_nooverride=1&payer_email=aaa@aaa.com&txn_id=111&first_name=Adam&last_name=Eve&payment_status=123¤cy=USD&client_id=1234&hash=12345Can someone help steer me in the right direction on this?
- The topic ‘Display Query String Parameters in web page’ is closed to new replies.