mrdeleigh Posted December 6, 2006 Share Posted December 6, 2006 Hi Alli have some html below that i would like to make an admin page to control it. I need a page that will have 6 lines for me to fill in a href link and a href image for each line. is that possible?thanks mrdeleigh[code]<div id="slider1" class="contentslide"><div class="contentdiv"> <div align="left"> <a href="[color=red]http://www.xxx.com[/color]" target="_blank"><img src="[color=green]http://www.yyy.com[/color]" width="161" height="94" border="0"></a></div></div> <div align="left"> <a href="[color=red]http://www.xxx.com[/color]" target="_blank"><img src="[color=green]http://www.yyy.com[/color]" width="161" height="94" border="0"></a></div></div> <div align="left"> <a href="[color=red]http://www.xxx.com[/color]" target="_blank"><img src="[color=green]http://www.yyy.com[/color]" width="161" height="94" border="0"></a></div></div> <div align="left"> <a href="[color=red]http://www.xxx.com[/color]" target="_blank"><img src="[color=green]http://www.yyy.com[/color]" width="161" height="94" border="0"></a></div></div> <div align="left"> <a href="[color=red]http://www.xxx.com[/color]" target="_blank"><img src="[color=green]http://www.yyy.com[/color]" width="161" height="94" border="0"></a></div></div></div>[/code] Link to comment https://forums.phpfreaks.com/topic/29672-admin-page/ Share on other sites More sharing options...
joquius Posted December 6, 2006 Share Posted December 6, 2006 Well you'll need to be drawing those values from something, and saving them to the same place. Lets say a database in mysql. You'll need to change the href/src to values coming out of some loop of a database result.lets say you set up a DB 'Links' with three fields: id, href, imageeach line would have respective values, and you would be able to add, change lines.Then you could just have a while() loop listing those links with the respective values.You'll need to know some basics before doing all this though Link to comment https://forums.phpfreaks.com/topic/29672-admin-page/#findComment-136185 Share on other sites More sharing options...
mrdeleigh Posted December 6, 2006 Author Share Posted December 6, 2006 thats the problem I'm a complete newbie>>> :) Link to comment https://forums.phpfreaks.com/topic/29672-admin-page/#findComment-136243 Share on other sites More sharing options...
mrdeleigh Posted December 6, 2006 Author Share Posted December 6, 2006 as its very simple is there an easy way of doing to with a access database? Link to comment https://forums.phpfreaks.com/topic/29672-admin-page/#findComment-136250 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.