News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPBuilder.com:
Use jQuery to Build a Newsletter Subscription Popup with a MySQL/PHP Backend
January 21, 2011 @ 09:17:27

On PHPBuilder.com today Jason Gilmore has a new tutorial posted showing how to combine PHP, MySQL and a jQuery interface to create a newsletter subscription popup for your site that doesn't interfere with the flow of the site.

More recently, websites have taken a more aggressive approach in terms of inviting visitors to subscribe to a newsletter or consider some other special offer. The approach involves displaying a popup window the very first time a visitor navigates to the website. The visitor has the option of either responding to the offer or providing his e-mail address by interacting with the popup, or can choose to close the popup at which point it won't reappear for a (hopefully) significant period of time.

He uses two jQuery plugins - simplemodal and jquery-cookie to do some of the heavy lifting on the frontend. Full HTML, CSS and Javascript code are provided to make the interface work. There's no backend code for the PHP/MySQL integration, but it's a pretty simple form so it shouldn't be overly difficult.

0 comments voice your opinion now!
jquery tutorial newsletter signup mysql modal plugin


blog comments powered by Disqus

Similar Posts

LogicPool.com: List of PHP and MySQL Code Generators

DevShed: User-defined Interfaces in PHP 5 - Turning MySQL Classes into Interface Implementers

RubySource.com: PHP to Ruby: Modules, Mixins and Ducks

IBM developerWorks: Process and integrate Google Notebook data with PHP

DZone.com: Sencha Touch 2 Models - Loading And Saving Model Data Using a Proxy, PHP Example


Community Events





Don't see your event here?
Let us know!


version community language podcast laravel threedevsandamaybe opinion api configure list release series unittest voicesoftheelephpant symfony framework introduction interview conference composer

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework