Php-mysql Course

With this script (made with PHP and Ajax) you can add in your web site a simple contact form. The visitors of your website will can contact you and send you messages directly from your page.
- It can be included in .php and .html files, or in template, with a simple HTML code (the server must run PHP).
- The form is HTML valid and has an anti-spam verification code.
- The form data is not resend if the page is refreshed.
- You can set the script to send the messages with the mail application from the server, or via GMail (in this case you must have a GMail account). For GMail the script usese the PHPMailer class.


• To Download the script, click this link: Download - simple contact form script (60 KB).

Demo Contact Form:

Send Message

Your Name:  
E-mail:        
Phone:        
Subject:  

Message: (maximum 500 characters)

Instructions

- Download the Archive with the Contact Form script from the Download link above, and follow the instructions from the readme.html file.

- If you have any questions or opinions about this script, please write on the Forum.

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which attribute is used in <a> tag for the address of the link?
src href rel
<a href="http://coursesweb.net/" title="CoursesWeb.net">CoursesWeb.net</a>
Which CSS property sets the type of the text font?
font-family text-decoration font-size
h2 {
  font-family:"Calibri",sans-serif;
}
What instruction selects all the <div> tags with class="cls"?
querySelector("div.cls") getElementsByTagName("div") querySelectorAll("div.cls")
var elm_list = document.querySelectorAll("div.cls");
var nr_elms = elm_list.length;       // number of selected items
alert(nr_elms);
Indicate the function that can be used to get the sum of values in an array.
array_sum() array_diff() array_shift()
$arr =[1, 2, 3, 4);
$arr_sum = array_sum($arr);
echo $arr_sum;       // 10
Simple Ajax-PHP Contact Form Script

Last accessed pages

  1. Laravel Basic Architecture (1336)
  2. Learning Vue.js - Tutorials (1054)
  3. JQZoom Image Magnifier (13134)
  4. Ajax-PHP Chat Script (49605)
  5. Add Tag to Selected Text in textarea with JavaScript (3242)

Popular pages this month

  1. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (724)
  2. CSS cursor property - Custom Cursors (95)
  3. Read Excel file data in PHP - PhpExcelReader (72)
  4. PHP-MySQL free course, online tutorials PHP MySQL code (68)
  5. PHP Unzipper - Extract Zip, Rar Archives (56)