# How to pass parameters to ignition perspective from a php page in local xampp server?

**URL:** <https://forum.inductiveautomation.com/t/how-to-pass-parameters-to-ignition-perspective-from-a-php-page-in-local-xampp-server/32269>\
**Category:** General Discussion\
**Tags:** perspective\
**Created:** [February 14, 2020, 3:15pm UTC](https://forum.inductiveautomation.com/t/how-to-pass-parameters-to-ignition-perspective-from-a-php-page-in-local-xampp-server/32269 "2020-02-14T15:15:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ptchanchal](https://avatars.discourse-cdn.com/v4/letter/p/f9ae1b/32.png) [@ptchanchal](https://forum.inductiveautomation.com/u/ptchanchal)\
**Post date:** [February 14, 2020, 3:15pm UTC](https://forum.inductiveautomation.com/t/how-to-pass-parameters-to-ignition-perspective-from-a-php-page-in-local-xampp-server/32269/1 "2020-02-14T15:15:09Z")

</div>

I created a login page in php and MySql, hosted it in local xampp server. Now i want to run a query in perspective page according to the logged in user. Is there anyway that i can pass my username to perspective and use it to generate a query.

Thank you.

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [February 14, 2020, 4:31pm UTC](https://forum.inductiveautomation.com/t/how-to-pass-parameters-to-ignition-perspective-from-a-php-page-in-local-xampp-server/32269/2 "2020-02-14T16:31:18Z")

</div>

Please check out the [Perspective Page documentation](https://docs.inductiveautomation.com/display/DOC80/Pages+in+Perspective#PagesinPerspective-PassingParameters(URLParameters)) for an example on how to pass parameters to a Page.
