Thank you for your reply. I have that one sorted now. But I have another little code thing that is irritating me. Maybe you can see a solution.
<?php
// affupdate.php
if (isset($_POST['Clickbank_Nickname'])) {
echo $_POST['Clickbank_Nickname'];
} else {
echo 'xxxxxxxx';
}
?>
This code puts out the 'Clickbank_Nickname' variable or else this string 'xxxxxxxx' by default.
Either way it also adds one character of white space either side. I need to trim this white space from both sides but I cant see how.
Thank you
Mike