terrence
|
| Posted: 08/23/2002, 6:39 AM |
|
Hi,
I know about the php function mysql_insert_id(), and would like to pass it's value to the return page on a submit action in CCS. I wrote the code in an 'after insert' event, but how do I pass it ?
I found several threads here already explaining how to do it, I presume in CC, they talk about sAction etc... but this doesn't seem to work in CCS...
Any ideas ?
|
|
|
 |
Nicole
|
| Posted: 08/24/2002, 2:37 AM |
|
Hello,
Look at generated code and find $Redirect variable. It stores the page name and parameter string to pass. It is used to redirect user. So you should add custom parameter to it using code (form After Insert event):
global $Redirect;
$Redirect .= "¶m_name=". mysql_insert_id()
|
|
|
 |
|