This topic is locked

$keys array in EditOnLoad

3/29/2008 8:48:59 PM
PHPRunner General questions
F
Fawaz author

How can I use $keys array in EditOnLoad event?
I have a field called seller and I want to store it in session variable in EditOnLoad event.
Like this:

$_SESSION["seller"]= $keys["seller"];


Thanks

Fawaz

J
Jane 3/31/2008

Fawaz,
there is no $keys array in the EditOnLoad event.

Use this code to pull ID of edited record:

$_SESSION["seller"]= $_REQUEST["editid1"];