Jump to content

i need some serious help.. php, js, n databasing PLEASE


Recommended Posts

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!

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.