This topic is locked

Deafult value - php expression

7/1/2009 10:46:33 AM
PHPRunner General questions
M
mauro author

I have a table called A, In Add Page i have a Field "user"

Default Value is @$SESSION["" . $strTableName."_OwnerID"]
i used Add View to create a copy of a table (<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=12214&image=1&table=forumtopics' class='bbc_emoticon' alt='B)' /> , but in Add Page now field 'user' is always blank....

which is the problem?

M
mauro author 7/1/2009

ok

i use @$_SESSION["UserID"] and it's ok