I need a script to rotate links on my page.
I have a page with 10 links, I want to put 100 links in the file as a database (not sql database, just php file).Then I want links to be rotated so everytime it shows different 10 links from the 100+ links pool.
Each link will have unique anchor text name, so in the database file, I will put link and anchor text together.
And, my page have another ajax script like this -
not just anchor
So, basically I want to put something like this instead of the normal link - [[url removed, login to view]] so that it pulls different links each time and instead of anchor I will just put - [databaseanchor]
So, I hope you get the idea, it can be different, but I just want the job done.
In the database where I put links, I want to be able to some text aswell, so I can group them like -
I don't know if // will be enough but I hope u get what I want.
This is pretty simple work, have low budget and need it asap.
It can also be done using sql database but then you have to create a php page for me to add and remove links easily as I don't know much about sql database.
Here is the ajax code, it was not showing above.
<a id="anc3" onclick="setjs('3','link')" style="cursor:pointer; color:#00F; text-decoration:underline;">anchor text</a>
< a id ="anc3" onclick="setjs('3','link')" style="cursor:pointer; color:#00F; text-decoration:underline;">anchor text</a>