Re: Transparent Database transactions

From: Date: Tue, 29 Aug 2000 20:02:20 +0000
Subject: Re: Transparent Database transactions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-14222@lists.php.net to get a copy of this message
I do this on my site. I just have the banner code in a .inc file which are listed in the database with a 1 or 0 (denoting display dont display) the HTML grabs all the .inc in random order and puts them into the specific locations. Since it is dynamic I can add new entries to the database after I make the .inc. Next time someone accesses the page it grabs the new records as well. Nice and easy for easy banner adding... my site is geekxmail.com, all the banners and buttons are dynamically generated -- Chris McKeever cgmckeever@norphans.com 773.443.7932 - direct line Norphans.Com, A Division of The Norphan Company WWW.Norphans.com 877-NORPHAN <lance@dallypost.com> wrote in message news:8oh2ss$epk$1@toye.php.net... > I want to place html code on several non-php web sites. I want the > code to accomplish the following > > 1. Display a banner ad that will be storred on my server (this is the > easy part) > 2. I also want to insert a new record into a mysql database that is > on my server. This step must happen transparently so as not to > affect the visitors experience while viewing the page that contains > the html code. > > How can this be accomplished? > > Lance Earl > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#14222) next »