Hi all, I'm editing a form processing script and simply want to do this:
I have this:
$msg = "<p>Please go back and fill in the fields accordingly.</p>\n";
and I want to do this, making "go back" a link to the previous page:
$msg = "<p>Please <a href="javascript:history.back()">go back</a> and fill in the fields accordingly.</p>\n";
You probably can't embed Javascript like this in php because I keep getting errors. Any suggestions?