Jump to content

Recommended Posts

I am not a programmer, just a copy of paste trial man but am having the following problem with my traffic exchange script that i purchased. Part of the system is a downline builder for members to add their own affiliate ID's rather than the swfault value which sre my affiliate id's. Being that their are now over 700 traffic exchanges, i wanted to make it easier for my members to add and update their ID;s by breaking the list down into Alphabetical sections using the existing set up in the sql database.
I have manged to breakdown and create identitle pages all which contain wither the referral programs for a to b, c to cd etc but when submitting the new id on say the page for the a and b section, the system replaced all in sections c to d etc with a blank field and delted th previous value entered,
Is there a way to be able to add new entries *id numbers) in one section without the system deleting or over writing all inputs fro the other sections?

In my copy of what i am dealing with below  your see the code that i am dealing with and where i have broken it down on this example into 3 sections. numbers, a to b and c to d. All i up doing is creating a page say for example with the name numbers and deleting all the entries in the PHP page for the sections a to b and then do the same for the page called for example c to d. The structure of the page stays the same just the information that can be amended by the my members with their own ID numbers.

Any help from anyone is much appreciated. I know what i want but dont know how ro get there lol 

 

Code im using, limited version.


<!DOCTYPE html>
<html>


<script>
    window.jQuery || document.write('<script src="themes/LFMTE_html5/style_files/js/jquery.min.js"><\/script>');
</script>

<script src="themes/LFMTE_html5/style_files/js/bootstrap.min.js"></script>

<div class="container"><div id="container">

<h3 align="center">Enter Your Referral Id's</h3><table border="1" width="95%" cellspacing="0" cellpadding="2" align="center"><tr><td><p style="text-align:center"><img alt="" src="../images/smurf images/smurf-school.jpg" style="height:200px; width:369px" /></p>

<p style="text-align:justify"><span style="font-size:14px"><span style="color:#000080"><strong>Unless stated otherwise, joining these programs are FREE to join. You are totally at liberty to choose which programs to join (or not). Any that you do not join will default to your sponsors referral id.<br />
<br />
You can change any of these codes at any time. Simply enter the new referral id and click the "Update" button.</strong></span><br />
<br />
<span style="color:#B22222"><strong>Always check each link. Never leave one that doesn&#39;t work (readers don&#39;t like it !!).</strong></span></span></p>

<p style="text-align:justify"><span style="font-size:14px"><span style="color:#000080"><strong>Being as now days, there are over 500 Traffic Exchange sites, plus mailer sites, completing your Downline Builder has been made easy, as we have broken the TE&#39;s down Alphabetically for you.<br />
Just click on a letter range and a new window will appear, complete your details, make sure you press submit for your details to be added to your downline, then click the close window button (Top Left) to see this page again to select your next alphabetical area. Carry on though the required Alphabet letters until your complete.</strong></span></span></p>

<table align="center" border="2" cellpadding="1" cellspacing="1" style="width:700px">
    <tbody>
        <tr>
            <td style="background-color:rgb(144, 8, 22); border-color:rgb(0, 0, 0); text-align:center"><a href="../members.php?page=ab"><strong><span style="color:#FFFFFF"><span style="font-size:18px"><span style="font-family:arial,helvetica,sans-serif">A-B</span></span></span></strong></a></td>
            <td style="background-color:rgb(144, 8, 22); border-color:rgb(0, 0, 0); text-align:center"><a href="../members.php?page=cd"><span style="color:#FFFFFF"><span style="font-size:18px"><strong>C-D</strong></span></span></a></td>
            <td style="background-color:rgb(144, 8, 22); border-color:rgb(0, 0, 0); text-align:center"><a href="../members.php?page=ef"><span style="color:#FFFFFF"><span style="font-size:18px"><span style="font-family:arial,helvetica,sans-serif"><strong>E-F</strong></span></span></span></a></td>
            <td style="background-color:rgb(144, 8, 22); border-color:rgb(0, 0, 0); text-align:center"><a href="../members.php?page=gh"><span style="color:#FFFFFF"><strong><span style="font-size:18px"><span style="font-family:arial,helvetica,sans-serif">G-H</span></span></strong></span></a></td>
                
        </tr>
    </tbody>
</table>

<p><strong><span style="color:#000080"><span style="font-size:14px"><span style="font-family:arial,helvetica,sans-serif">If you find when you are completing your Downline Builder id&#39;s, that we have not listed a Traffic Exchange that you are a member of, please don&#39;t hesitate to let us know and we will add it as soon as possible.</span></span></span></strong></p>

<p><strong><span style="color:#000080"><span style="font-size:14px"><span style="font-family:arial,helvetica,sans-serif">Let us know </span></span></span><span style="font-size:14px"><span style="font-family:arial,helvetica,sans-serif"><a href="mailto:smurfhelp@smurfsurfingtrafficexchange.com?subject=Traffic%20Exchange%20Missing%20in%20Downline%20Builder"><span style="color:#0000FF">HERE</span></a></span></span></strong></p>

<p><span style="font-size:18px"><em><strong><span style="font-family:arial,helvetica,sans-serif">Papa Smurf</span></strong></em></span></p><br>


<!-- ########################################Start of ID Form ################################-->

<br><form action="members.php?mf=dlb&action=updateids" method="post" >

<!-- #####################Start of Banners Numbers page would include only these entries below section AB CD Deleted######################### -->

<table border="1" width="90%" align="center" cellspacing="0" cellpadding="2"><tr><td align="left" colspan="2"><img src="https://1-1hits.com/getimg.php?id=2"></a></td></tr><tr><td align="left" width="55%">To Sign Up <a href="https://1-1hits.com/?rid=1840" target="_blank">Click Here</a></td><td align="left" width="45%">Your Affiliate Id: &nbsp; <input type="text" class="input" size="30" name="1hits.com" value="454"></td></tr></table><br><table border="1" width="90%" align="center" cellspacing="0" cellpadding="2"><tr><td align="left" colspan="2"><img src="https://10khits4unow.com/getimg.php?id=4"></a></td></tr><tr><td align="left" width="55%">To Sign Up <a href="https://10khits4unow.com/?rid=62620" target="_blank">Click Here</a></td><td align="left" width="45%">Your Affiliate Id: &nbsp; <input type="text" class="input" size="30" name="10khits4unow.com" value=""></td></tr></table><br><table border="1" width="90%" align="center" cellspacing="0" cellpadding="2"><tr><td align="left" colspan="2"><img src="https://21stcenturysurf.com/getimg.php?id=6"></a></td></tr>

<!-- #######################Start of AB page would include only these entries below in AB CD and Numbers Deleted ######################### -->

<br><table border="1" width="90%" align="center" cellspacing="0" cellpadding="2"><tr><td align="left" colspan="2"><img src="https://actualhits4u.com/getimg.php?id=2"></a></td></tr><tr><td align="left" width="55%">To Sign Up <a href="https://actualhits4u.com/?rid=affid}" target="_blank">Click Here</a></td><td align="left" width="45%">Your Affiliate Id: &nbsp; <input type="text" class="input" size="30" name="actualhits4u.com" value=""></td></tr></table><br><table border="1" width="90%" align="center" cellspacing="0" cellpadding="2"><tr><td align="left" colspan="2">><img src="https://adpackheaven.info/getimg.php?id=8"></a></td></tr><tr><td align="left" width="55%">To Sign Up <a href="https://adpackheaven.info/?rid=615" target="_blank">Click Here</a></td><td align="left" width="45%">Your Affiliate Id: &nbsp; <input type="text" class="input" size="30" name="adpackheaven.info" value=""></td></tr></table><br><table border="1" width="90%" align="center" cellspacing="0" cellpadding="2"><tr><td align="left" colspan="2"><img src="http://adsomniacs.com/getimg.php?id=5"></a></td></tr><tr><td align="left" width="55%">To Sign Up <a href="http://adsomniacs.com/?rid=636" target="_blank">Click Here</a></td><td align="left" width="45%">Your Affiliate Id: &nbsp; <input type="text" class="input" size="30" name="http://adsomniacs.com" value=""></td></tr></table>

<!-- #######################Start of CD page would include only these entries below Numbers and AB entries deleted######################### -->

<br><table border="1" width="90%" align="center" cellspacing="0" cellpadding="2"><tr><td align="left" colspan="2"><img src="http://www.calculatingtraffic.com/getimg.php?id=1"></a></td></tr><tr><td align="left" width="55%">To Sign Up <a href="http://www.calculatingtraffic.com/?rid=340" target="_blank">Click Here</a></td><td align="left" width="45%">Your Affiliate Id: &nbsp; <input type="text" class="input" size="30" name="calculatingtraffic.com" value=""></td></tr></table><br><table border="1" width="90%" align="center" cellspacing="0" cellpadding="2"><tr><td align="left" colspan="2"><img src="https://carrierhits.com/getimg.php?id=3"></a></td></tr><tr><td align="left" width="55%">To Sign Up <a href="https://carrierhits.com/?rid=1903" target="_blank">Click Here</a></td><td align="left" width="45%">Your Affiliate Id: &nbsp; <input type="text" class="input" size="30" name="carrierhits.com" value=""></td></tr></table>

<!-- ####################################submit button ############################# -->

<br><center><input type="submit" name="submitbtn" value="Update Referral Ids"><br><br></form></td></tr></table></center>
</div><br>
<!-- ################End Submit button ######################### -->

</div>

</body>
</html>

v

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.