Email_Sending: No Value for EW_PAGE_ID == "edit"

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
mpol_ch
User
Posts: 896
Location: Switzerland

Email_Sending: No Value for EW_PAGE_ID == "edit"

Post 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


mobhar
User
Posts: 11905

Post 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'];


mpol_ch
User
Posts: 896
Location: Switzerland

Post by mpol_ch »

Hello mobhar

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

mpol_ch


danielc
User
Posts: 1599

Post by danielc »

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


Post Reply