Default in custom fields
Posted: Sun Feb 28, 2010 2:03 pm
Script URL:
Version of script:2.1
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
I have one custom field that I like to default to a $_SESSION variable.
It tried a couple of formats in the options but it doesn't work ($_SESSION['a'] or <?php echo $_SESSION['a'] ?>
Anybody knows how to do this, besides hardcoding it in the index file.
(PS i replaced hes_session_start() with session_start() to be able to use my own session variables)
Regards
Karel
Version of script:2.1
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
I have one custom field that I like to default to a $_SESSION variable.
It tried a couple of formats in the options but it doesn't work ($_SESSION['a'] or <?php echo $_SESSION['a'] ?>
Anybody knows how to do this, besides hardcoding it in the index file.
(PS i replaced hes_session_start() with session_start() to be able to use my own session variables)
Regards
Karel