User surveys can be an extremely effective marketing tool for any business web site. Visitors can make their voices heard on what products, services and information they would like the site to provide. Site owners can then adjust their marketing plans and promotions around the results of these polls.In order to build a basic user poll, we must first create the database tables that will hold the poll question and its various responses.
Tag: PHP
Create Your Own CRUD App with MySQL and PHP
CRUD simply stands for Create, Read, Update and Delete and it is the one of the fundamental principles of programming logic that can be expanded and applied to larger projects.For example, let’s imagine we’re creating a social network and we like to have the ability for users to create accounts, edit and update information for those accounts and also delete said accounts; that is CRUD at work.
Common Mistakes to Avoid When Coding in PHP
Despite the high expectations placed on them at times, developers are human. They were the last time we checked anyways.As humans, we are bound to make mistakes from time to time. And simple, common mistakes often slip past our filters the more comfortable we become with something.Think about it, when you first started writing code you most likely checked every line to make sure things were perfect. As you grow more comfortable with the process, little things often get overlooked and mistakes are made.
Integrating AJAX with PHP Part I
AJAX earned its share of stardom once industry giants like Google Maps, Zoho Writer and Y!Mail Beta started to actively implement AJAX into their services.Though many webmasters out there are already using AJAX yet there is that section which is still unaware of its advantages.This tutorial will help the latter part enjoy hands-on experience with AJAX and PHP. I won’t be using jargons yet I am assuming that you understand the basics of HTML, PHP and JavaScript.
10 PHP Hacks Worth Knowing
PHP is a very flexible programming language and no matter how much you know, there is always more left to learn.Some of the things that are definitely worth knowing are all the different hacks that help you solve problems and make you more productive. Here are some that every developer should know…