Page 1 of 1

Email_Sending: No Value for EW_PAGE_ID == "edit"

Posted: Mon Oct 14, 2013 6:16 pm
by mpol_ch

Hello
I am using the following for to receive the value of "Id" which is primary key.

ticketedit.php?Id=".$Args['rsnew']['Id'];

This is working for condition if (EW_PAGE_ID == "add") perfectly.

But for condition if (EW_PAGE_ID == "edit") it is empty. I even trien with .$rs['Id'] the results is the same.

Where should I check?

mpol_ch


Re: Email_Sending: No Vlaue for EW_PAGE_ID == "edit"

Posted: Tue Oct 15, 2013 1:41 am
by mobhar

If the value of "Id" field is not changed while editing the record, then try to use "rsold" instead of "rsnew". For example:

ticketedit.php?Id=".$Args['rsold']['Id'];


Re: Email_Sending: No Vlaue for EW_PAGE_ID == "edit"

Posted: Tue Oct 15, 2013 3:08 am
by mpol_ch

Hello mobhar

thanks. But this has not helped. I put it before. It is comming just with empty...

mpol_ch


Re: Email_Sending: No Vlaue for EW_PAGE_ID == "edit"

Posted: Tue Oct 15, 2013 9:28 am
by danielc

You may try to get by $_GET["ID"] as xxxedit.php?id=x will add appear in url.