# How to access variable in PHP

**URL:** <https://forum.kirupa.com/t/how-to-access-variable-in-php/330030>\
**Category:** programming\
**Created:** [November 20, 2012, 5:33pm UTC](https://forum.kirupa.com/t/how-to-access-variable-in-php/330030 "2012-11-20T17:33:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dougevans](https://avatars.discourse-cdn.com/v4/letter/d/5daacb/32.png) [@dougevans](https://forum.kirupa.com/u/dougevans)\
**Post date:** [November 20, 2012, 5:33pm UTC](https://forum.kirupa.com/t/how-to-access-variable-in-php/330030/1 "2012-11-20T17:33:16Z")

</div>

I am a real newbie at PHP and have, I hope, a simple question. I have found a variable with Firebug in the DOM section and would like to access it to determine if it is true or false. The variable is called isResponsive and here is a screenshot of the Firebug console and where the variable is located:

Any help in how to access this variable is very much appreciated!!

Thanks in advance,  
Doug
