jwk811 Posted September 30, 2007 Share Posted September 30, 2007 Look here: http://rodentcity.com/royalherps/ See the marquee of pictures on the left and the pause and go pictures on the right? I need to put pictures in there that I need to get from the database. The marquees are done with javascript so I don't know how that it going to work. I call a JS page where I have the pictures that are going into the marquees but how can I get them from the datbase? This is what the pause content looks like. var pausecontent=new Array() pausecontent[0]='<a href="http://www.javascriptkit.com"><img src="http://www.rodentcity.com/royalherps/images/snake.jpg"></img></a><br /><p>Comprehensive JavaScript tutorials and over 400+ free scripts!' pausecontent[1]='<a href="http://www.codingforums.com"><img src="http://www.rodentcity.com/royalherps/images/IMG_0362.jpg"></img></a><br /><p>Web coding and development forums.' pausecontent[2]='<a href="http://www.cssdrive.com" target="_new"><img src="http://www.rodentcity.com/royalherps/images/IMG_0363.jpg"></img></a><br /><p>Categorized CSS gallery and examples.' pausecontent[3]='<a href="http://www.codingforums.com"><img src="http://www.rodentcity.com/royalherps/images/IMG_0364.jpg"></img></a><br /><p>Web coding and development forums.' pausecontent[4]='<a href="http://www.cssdrive.com" target="_new"><img src="http://www.rodentcity.com/royalherps/images/IMG_0365.jpg"></img></a><br /><p>Categorized CSS gallery and examples.' var pausecontent2=new Array() pausecontent2[0]='<a href="http://www.javascriptkit.com"><img src="http://www.rodentcity.com/royalherps/images/snake.jpg"></img></a><br /><p>Comprehensive JavaScript tutorials and over 400+ free scripts!' pausecontent2[1]='<a href="http://www.codingforums.com"><img src="http://www.rodentcity.com/royalherps/images/IMG_0362.jpg"></img></a><br /><p>Web coding and development forums.' pausecontent2[2]='<a href="http://www.cssdrive.com" target="_new"><img src="http://www.rodentcity.com/royalherps/images/IMG_0363.jpg"></img></a><br /><p>Categorized CSS gallery and examples.' pausecontent2[3]='<a href="http://www.codingforums.com"><img src="http://www.rodentcity.com/royalherps/images/IMG_0364.jpg"></img></a><br /><p>Web coding and development forums.' pausecontent2[4]='<a href="http://www.cssdrive.com" target="_new"><img src="http://www.rodentcity.com/royalherps/images/IMG_0365.jpg"></img></a><br /><p>Categorized CSS gallery and examples.' For every picture I have it will have to make a new number pause content and put that picture between the image tags from the database. Can this be done with PHP? Please help! Quote Link to comment https://forums.phpfreaks.com/topic/71268-i-need-some-serious-help-php-js-n-databasing-please/ Share on other sites More sharing options...
jwk811 Posted September 30, 2007 Author Share Posted September 30, 2007 anyone? do you think I need to use AJAX or can i use PHP somehow? Quote Link to comment https://forums.phpfreaks.com/topic/71268-i-need-some-serious-help-php-js-n-databasing-please/#findComment-358616 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.