I’m trying to use an EE variable within PHP and am getting errors… What am I doing wrong?
<pre><code><?php
//call user table here
$mysql_query=“SELECT `es_onhand`, `es_bank` FROM `glo_userfields` WHERE `usr_useridnum` = {logged_in_member_id};
.....BLAH BALH BLAH REST OF CODE…</code></pre>
PHP setting is enabled and selected to “OUTPUT”. Putting EE tag in quotes gives me an error as well.
It isn’t parsing the EE tag at all.
Thanks in advance!