Posts

Multi step registration form in PHP

Image
Multi Step Responsive Form Using PHP JavaScript and HTML In this blog we are going to create a simple registration form with multiple steps. In this example we used simple JavaScript functions and HTML with CSS. So for creating  multistep form applications using PHP here I provided some points to follow. Please check out the code example and requirements for building multistep form in PHP   Database:   Menu👆 Top  Create Database and Table with given MySQL Code Database: coding-zon Table structure for table register CREATE TABLE IF NOT EXISTS register ( id int ( 11 ) NOT NULL AUTO_INCREMENT , fname varchar ( 30 ) NOT NULL , lname varchar ( 30 ) NOT NULL , username varchar ( 30 ) NOT NULL , password varchar ( 150 ) NOT NULL , email varchar ( 30 ) NOT NULL , phone varchar ( 30 ) NOT NULL , birthdate varchar ( 30 ) NOT NULL , PRIMARY KEY ( id ) ) ENGINE =InnoDB DEFAULT CHARSET =latin1 AUTO_INCREMENT = 1 ; ...

How to create HTML-Forms

Image
   Learn how to use HTML form controls In this article we are going to learn How to use basic html-form controls for creating different kinds of forms. For any websites It should have at least one or two forms in the site in order to communicate with the client and share information and views of the users, which helps them to take their business up one level. So If we come to the topic, html provides various graphical user-interface controls for creating forms which allows users to feed different kinds of data. Now we learn what those controls are and how to use them etc. In this tutorial we will create the various forms one by one which are more frequently used in websites. 1) login page 2) signup page using following html controls: Radio buttons : Radio buttons allow users to choose only one option among the group. ex: Gender Checkbox : Checkbox allows users to choose all options from the group. ex:Hobbies C ombo box: Combo box also called it as drop down . It holds a...

Practice-Questions-on-PHP-arrays

Image
        Bit Questions on PHP Arrays   Here is the list of top PHP array practice questions that can be asked by the Interviewer in PHP Interviews to Freshers and Experience.   There are some basic PHP Array Questions and Answers for interviews. 1)  PHP array means what? PHP array is a  variable that stores multiple values in a single variable.  2) How many types of arrays in PHP? 3 Types   3) How to create an array in PHP? An array can be created in two ways in PHP. One is using array() function or  by using [] in front of variable. $myarray = array(); or $ myarray =[]; 4) How to get the array size in PHP? You can use the array_size() function to get the size of the number of the PHP Array. $cities = [ 'kolkata' , 'delhi' , 'mumbai' , 'banglore' , 'chennai' ];   echo count ( $cities ); // outputs 5   5) What is the difference between array_combine and array_merge array_combine() is used to create a new array by using t...