PHP Form

The PHP $_GET and $_POST variables are used to retrieve information from forms, like user input. PHP Form Handling The most important thing to notice when dealing with HTML forms and PHP is that any form element in an HTML page will automatically be available to your PHP scripts. Form example: <html> <body> <form action=”welcome.php” [...]

  • Share/Bookmark

Form Validation in JavaScript

Form Validation using FORM <html> <head> <title>JavaScript Form Validation</title> <script language=”javascript” type=”text/javascript”> function frmValidation() { if(document.form1.fname.value==””) // checking whether the field fname in form1 has blank value in it or not { alert(“First Name cannot be left blank.”); document.form1.fname.focus(); // this takes the cursor and puts it inside the fname field return false; // return [...]

  • Share/Bookmark

HTML Hyper Text MarkUp Language

HTML – Hyper Text Markup Language HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language. It can also be referred to as a presentation language. A markup language is a set of markup tags HTML uses markup tags [...]

  • Share/Bookmark