Ninjakreborn Posted August 29, 2006 Share Posted August 29, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/19009-bannerwith-php/ Share on other sites More sharing options...
Orio Posted August 29, 2006 Share Posted August 29, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/19009-bannerwith-php/#findComment-82180 Share on other sites More sharing options...
Ninjakreborn Posted August 29, 2006 Author Share Posted August 29, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/19009-bannerwith-php/#findComment-82210 Share on other sites More sharing options...
wildteen88 Posted August 29, 2006 Share Posted August 29, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/19009-bannerwith-php/#findComment-82216 Share on other sites More sharing options...
Ninjakreborn Posted August 29, 2006 Author Share Posted August 29, 2006 Ah thanks. Quote Link to comment https://forums.phpfreaks.com/topic/19009-bannerwith-php/#findComment-82224 Share on other sites More sharing options...
SharkBait Posted August 29, 2006 Share Posted August 29, 2006 I used to do banner rotation, not the flash/animated gif but via rand() and loading differenet images when the page was refreshed. Quote Link to comment https://forums.phpfreaks.com/topic/19009-bannerwith-php/#findComment-82230 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.