I am creating an affiliates resources page. It is just like this page here:
http://daytradingrobot.com/inside-affiliates.php
I have made many premade links on my page to make it easy for my affiliates to set up their links. Now they could manually replace the xxxxxxx in all the links for their own clickbank ID.
With the website above they have a text entry box and a submit button. The ID is entered into the text box and when submit is clicked, all the links on the page are now updated with the new ID that was entered into the text box. The place holder "xxxxxxxx" in all the links on the page are now updated with the submitted new ID. If you try it with any value say "789789" in the page above you will see what I mean.
http://xxxxxxxx.vendor.hop.clickbank.net changes to http://789789.vendor.hop.clickbank.net
Now I have this code in my page and it almost works:
<form method="post" action="form.php">
<input size="12" maxlength="12" name="Clickbank_Nickname" type="text">
<input value="submit" name="submit" type="submit">
</form>
<?php
// form.php
if (isset($_POST['Clickbank_Nickname'])) {
echo $_POST['Clickbank_Nickname'];
}
?>
Except as it is now, it displays no data until it is entered into the submit box and submitted.
That is it does not show "xxxxxxxxx" as the placeholder for a nick name. Just in case a newbie wants to manually change the "xxxxxxxxx" manually.
So how would I still be able to show "xxxxxxxxx" as the place holder until someone puts in their nickname and presses submit.
I am real grateful for your help here.
Thank you.