RSS

LuxCal Forum

The place for questions, suggestions and news about the LuxCal Event Calendar

User:   Password:   Remember Me?   
LuxCal Forum / General / Problems / Retrieve a value from the browser
Posted:  03 Jan 2016 08:40   Last Edited By: Roel B.
I retrieve the IP from another form.
I automatically generates the connection ID
index?lc&cP=21&my_id=38
I ask if I can retrieve the number 38 from the browser link and put it in an echo in the form?
Thank you
http://img15.hostingpics.net/pics/210662ChercherparID.png
Posted:  03 Jan 2016 13:09   Last Edited By: Roel B.
Bonne année Eamon,

URL parameters are passed through the so-called GET method and can be retrieved as follows in PHP:

Code:


if (isset($_GET['my_id'])) { echo "My ID is: {$_GET['my_id']}"; }

Roel
Posted:  03 Jan 2016 20:50
Joyeuse année avec beaucoup de succès Roel
Many thanks
Resolved