Thanks for your response, I am really sorry I am being really thick here, the redirect is only to a static page, there is no external processing. BUT the script I posted has to run on the server to add the data from the form to the database.
The below script cant change as I dont think the data will be added as it should be, I was hoping that it could be modified a little or have a little bit added onto it to allow for a redirect after it has processed the form data, I dont see this code anywhere on the snippets you have posted so I am really confused as to where your code should be, I am sorry this is probably getting to hard for me to understand. I just thought that maybe it was just a extra piece of code to be added so after the data was processed it directed to a static html page I needed which was on another url location.
I am trying to improve on a vacation rental script I purchased, because on the existing logon/register page. if a new user registers after they hit submit the page doesn't do anything, so its confusing to the new user that all they need to do is login, if it diverted away they would at least know something had happened.
Sorry to be a pain if this is too much to ask I understand and thanks for your input so far. Steve
<input type="submit" value="<?php echo $PLS_LANG['front_register_submit']; ?>" onclick="return VRL.Utils.submitRegistrationForm('frmPLRegister');" />