wanaka
|
Posted: 05/20/2003, 7:21 AM |
|
I have a insert page for user to insert new contact. After click the insert
button user will be forward to another page and I need to pass the primary
key of the new inserted record to the second page.
From CCS after insert event, so far I have done the following.
global $contact_person;
global $DBmwsdb;
$lastname = $contact_person->lastname->GetValue();
$firstname = $contact_person->firstname->GetValue();
$SQL="select cpid from contact_person where lastname=" . "'$lastname'" . "
AND firstname=" . "'$firstname'";
$DBmwsdb->query($SQL);
$fldcpid = $DBmwsdb->f(cpid);
Now I have problem how to post cpid as part of the URL I need a url like
this mypage.php?cpid=123
|
|
|
|