For your info Sergey.
I solved the issue with something that makes absolutely no sense to me. But with one line of code, it all works perfectly, on all servers.
I'm sharing the change in code, Please please explain to me while doing just this makes it all good. Great lead in, eh.
I spent hours trying to get this to work. And I found after lots and lots of troubleshooting, found that if I added just a echo command before the closing of the function, everything worked. Im not even echoing a value as you can see. But with that line, it works, without it, it would not display the edit updated or record added message on my older server.
And perhaps I could code something better and still get the same effect. But It works. Done.
Anyway, modifying the add.php and the edit.php in source.
For example in the edit.php
I found the function below and added ONLY the bolded line.
if(function_exists("BeforeEdit"))
$retval=BeforeEdit($evalues,$strWhereClause,$dataold,$keys,$usermessage,$inlineedit);
if($retval)
{
if(DoUpdateRecord($strOriginalTableName,$evalues,$blobfields,$strWhereClause))
{
$IsSaved=true;
// after edit event
if(function_exists("AfterEdit"))
{
foreach($dataold as $idx=>$val)
{
if(!array_key_exists($idx,$evalues))
$evalues[$idx]=$val;
}
AfterEdit($evalues,KeyWhere($keys),$dataold,$keys,$inlineedit);
}
}
// added line below
[b]echo "<div style=\"display:none;\">Review Record</div>";[/b]
}
else
{
$readevalues=true;
$message = $usermessage;
$status="DECLINED";
}