Jump to content


Photo

Banner(with php)


  • Please log in to reply
5 replies to this topic

#1 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 29 August 2006 - 01:19 PM

I am wanting to build a page of businesses, but on the homepage of a site I am working on, I am wanting to put a list of business's that have used the site, a banner, that rotates the information, But I need it to pull the information from a database, can you let me know how I am going to do this, I know how to, I have an admin area(where they can enter the businesses), to database, then have a script pull the information from a database, and display a picture with it somehow, but like a rotating picture, probably pull it from php, and pass the database variables over to javascript. 

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.


#2 Orio

Orio
  • Staff Alumni
  • Advanced Member
  • 2,491 posts

Posted 29 August 2006 - 01:22 PM

What do you mean by "rotating"?
And what are you exactly asking for? How to pull the banners out of the database, or how to "rotate" them?

Orio.
Think you're smarty?

(Gone until 20 to November)

#3 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 29 August 2006 - 02:12 PM

No like a text banner, or image banner, how to make one, I can do the banner in photoshop, or just text, but I don't know how to make php, pull the information, and you should already know what a rotating banner is, one that displays something, then something else, or a few things, then switches over to show me, and keeps rotating based on information in a database, when it reaches the end it starts over again, and does it in realtime(obviously using ajax or something similar).
But I have seen php versions, that are done in just php, that's what I am trying to figure out how to do, I know they were php, because looking at the source code you don't see any ajax, and when you pull there js files you don't see any ajax either.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.


#4 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 29 August 2006 - 02:20 PM

Banner adds can be an animated gif, or they can be done in flash. No php involved. With PHP you can do a random banner add.

#5 Ninjakreborn

Ninjakreborn
  • Members
  • PipPipPip
  • Information Technology Specialist
  • 3,922 posts
  • Age:33

Posted 29 August 2006 - 02:32 PM

Ah thanks.

------

Business Website: http://www.infotechnologist.biz

Personal Website: http://www.joyelpuryear.com

Blog Site: http://www.realmofwriting.com
Services: Web development, application development, mobile development, and custom development. All services listed on my website.


#6 SharkBait

SharkBait
  • Members
  • PipPipPip
  • Advanced Member
  • 845 posts
  • LocationMetro Vancouver, BC

Posted 29 August 2006 - 02:37 PM

I used to do banner rotation, not the flash/animated gif but via rand() and loading differenet images when the page was refreshed.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users