Is there a way to discover the case statement that a self-posting page has just come from? I.E. in the case of case $_POST['submit'], each time a user posts the form, we can alert the user if a 'New' article has been successfully posted (having come from case 'new').
switch($action) {
case $_POST['submit']:
if($action['new']) {
echo "Came from new";
}
break;
case 'new':
$addnews = new newsHandler();
$addnews->pageTitle("New Article");
$oFCKeditor->Value = '' ;
$oFCKeditor->Create() ;
break;
.....
Or is this not a good way to handle this?
Thanks,
Eve