Events in Javascript

Events are a part of almost all Web pages and they make the pages interactive and dynamic. Events are actions initiated by the user. Examples of events are submitting a form, mouse over a link or image. Event handling is JavaScript’s response to one of these user-initiated events. JavaScript can execute code in response to […]
Continue reading…

Enjoyed this post? Share it!

 
 

form_submit form helper in codeigniter

The form_submit(Array_submit) function is used to create an input type submit in a form. Its return type is string.The variable Array_submit is an array that has keys as attributes of the form and values of the key attributes in the form. Example of Form_submit: $submit = Array ("name" => "submit", "value" => "send", "class" => […]
Continue reading…

Enjoyed this post? Share it!

 
 

form_radio form helper in codeigniter

The form_radio(Array_radio) function is used to create an input type radio in a form. Its return type is string.The variable Array_radio is an array that has keys as attributes of the form and values of the key attributes in the form. Example of Form_radio: $radio = array( "name"=>"yes", "value"=>"1" ); echo form_radio($radio); Output: <input type="radio" […]
Continue reading…

Enjoyed this post? Share it!

 
 

form_checkbox form helper in codeigniter

The form_checkbox(Array_checkbox) function is used to create an input checkbox in a form. Its return type is string.The variable Array_checkbox is an array that has keys as attributes of the form and values of the key attributes in the form. Example of Form_checkbox: $checkbox = array( "name"=>"agree", "value"=>"0" ); echo form_checkbox ($checkbox); Output: <input type="checkbox" […]
Continue reading…

Enjoyed this post? Share it!

 
 

form_textarea form helper in codeigniter

The form_textarea(Array_textarea) function is used to create an input text area in a form. Its return type is string.The variable Array_textarea is an array that has keys as attributes of the form and values of the key attributes in the form. Example of Form_textarea: $textarea = Array ("name" => "comments", "cols" => "10"); echo Form_textarea($textarea); […]
Continue reading…

Enjoyed this post? Share it!

 
 

Form_upload form helper in Codeigniter

The Form_upload(Array_upload) function is used to create an input type of file upload in a form. Its return type is string.The variable Array_upload is an array that has keys as attributes of the form and values of the key attributes in the form. Example of Form_upload: $upload = Array ("name" => "yourimage", "Class" => "Upload"); […]
Continue reading…

Enjoyed this post? Share it!

 
 

Form_password form helper in Codeigniter

The Form_password(Array_password) function is used to create an input type of password in a form. Its return type is string. The variable Array_password is an array that has keys as attributes of the form and values of the key attributes in the form. Example of Form_password: $password = Array ("name" => "Password", "Class" => "text"); […]
Continue reading…

Enjoyed this post? Share it!

 
 

HTML Form processing in PHP

Processing HTML forms is one of the major and practical applications of PHP. Validation of form data is usually done with a client side scripting language. PHP is a server-side scripting language. Form data is sent to a PHP script only when the processed data needs to be stored in a database. PHP provides two […]
Continue reading…

Enjoyed this post? Share it!