What is the best way to create a banner ad using information stored in a database? I have the information I was to use and already pulled from the database using PHP. How can I put this into a 460x80 banner in .gif or .png? I want to banner to shower something different from the database everytime the page is refreshed. Is this a pretty easy thing to do or require a lot of work?
Jump to Post
i recommend you use .png.... about the banner will it's not really hard... because you use database...all you do is some mysql query and PHP predefined function rand();
here ill show you the code
lets assume you had these table
banner_id - int (primary)(autoincrement)
src = varchar
All 8 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.