Jump to content

help(don't know what to call it)


ShoeLace1291

Recommended Posts

I have a function that translates arrays in a template into PHP code.  For example:  USER_NAME would appear as whatever $_SESSION['username'] is equal to.  What would the correct syntax be if I wanted to use $_PHP['SERVER_SELF']; in the array?

 

$serverself = $_PHP['SERVER_SELF']; does not work, so I was thinking something along the lines of $serverself = <?php echo $_PHP['SERVER_SELF']; ?>; but I don't know what the correct syntax for that would be.

Link to comment
https://forums.phpfreaks.com/topic/105702-helpdont-know-what-to-call-it/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.