Default in custom fields

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
karelb
Posts: 6
Joined: Mon Apr 28, 2008 12:10 pm

Default in custom fields

Post by karelb »

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
Klemen
Site Admin
Posts: 10143
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

You'will have to hard-code it.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Post Reply