How can I create a variable that is pulled from a URL like the one below?
eg: http://www.example.com/page.php?Item_ID=774&score=42
Need to pull the number "42" from the url and placed into a form which is then emailed by the user.
ExpressionEngine® Answers is a question and answer site for administrators, end users, developers and designers for ExpressionEngine® CMS. It only takes a minute to sign up.
Sign up to join this communityHow can I create a variable that is pulled from a URL like the one below?
eg: http://www.example.com/page.php?Item_ID=774&score=42
Need to pull the number "42" from the url and placed into a form which is then emailed by the user.
Use Mo' Variables. It will give you access to GET variables like this {get:your_key}
(in your case {get:score}
).
Mo' Variables has many other uses, as well!