News Feed
Sections




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

Developer Drive:
PHP User Survey Setting Variable Values and Reading from Tables
November 30, 2011 @ 11:04:33

The Developer Drive blog has the latest post in their "PHP User Survey" series focusing on setting up admin functionality for the poll managers to use.

In Part I of this series, we started the process of creating user polls for a business web site. Part I gave the layout of the data layer and began the construction of the class file. In this part we will continue with adding methods to the class file that will enable the administrator to set the variable values and read from the database tables.

Code is included for setting the poll and answer ID values (setters), grabbing the number of polls currently defined, finding the active ones and pulling out poll data along with its answers. If you need to catch up, you can find the other parts here: part one, part two.

0 comments voice your opinion now!
survey poll tutorial database table


blog comments powered by Disqus

Similar Posts

PHPBuilder.com: Creating an Online Survey - Part 2

CodePoets.co.uk: How to use PHP and PEAR MDB2 (Tutorial)

Till Klampaeckel's Blog: Iterating over a table (with Zend_Db_Table and Zend_Paginator)

IBM developerWorks: Ajax and XML: Ajax for chat

WebReference.com: The Building Blocks: Data Types, Literals, Variables, and Constants - Part 2


Community Events





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


community release laravel introduction deployment opinion symfony podcast bugfix package install zendserver framework tips series language interview update api library

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