New PHP - MySQL tutorials might be added soon.

  1. Send POST data with file_get_contents
  2. Get Mime Type of file or string content in PHP
  3. PHP Predefined Constants
  4. Common PHP Errors and Solutions
  5. Split number - Get each character from number
  6. Prevent Hotlinking / Block External Access to Video and Audio files
  7. Get Relative Path to Website Root for Includes to Access from Anywhere
  8. Create and Use in PHP a Simple Template Page
  9. Remove / Get duplicate array values - Reset array keys in PHP
  10. DirectoryIterator to get file and directory info
  11. Create simple Website with PHP
  12. Extract a number of characters and words from text
  13. Convert BBCODE and smiles to HTML
  14. Integer and Float value in Select with PDO from string to numeric
  15. Insert, Select and Update NULL value in MySQL
  16. Check if table exists in databse
  17. Register and show online users and visitors
  18. Keep data in form fields after submitting the form
  19. MySQL INNER JOIN, LEFT JOIN, RIGHT JOIN
  20. Select in two MySQL tables
  21. Count the number of downloads and accesses
  22. Uploading multiple files
  23. Using file_put_contents, file_get_contents, readfile and file()
  24. Days between two dates, or of a specified week, in PHP MySQL
  25. Random numbers in PHP
  26. Recursive Functions in PHP
  27. Send E-mail with HTML tags and Attachment
  28. Display data from PHP Array, or MySQL in HTML table
  29. Get the value of multiple selected checkboxes with same name
  30. Get data from string with JSON object
  31. Create a simple anti-spam Captcha verification code
  32. Add data from form in text file in JSON format
  33. Splat Operator in PHP
  34. Calling Function and Class Method with Name from String

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which type of <input> creates input fields that should contain a numeric value?
type="text" type="number" type="date"
<input type="number" name="points" min="5" max="80" />
Which CSS property allows to change the transparency of an element?
font-style opacity color
#id {
  filter:alpha(opacity=40);    /* for IE */
  opacity:0.4;
}
Click on the function that formats a number to specified number of characters.
toPrecision() exp() toFixed()
var num = 12.34567;
alert( num.toPrecision(3) );       // 12.3
Which function randomizes the order of the elements into an array?
natsort() shuffle() sort()
$lang = array(10=>"PHP", 20=>"JavaScript", "site"=>"coursesweb.net");
shuffle($lang);
var_export($lang);     // array (0=>"coursesweb.net", 1=>"PHP", 2=>"JavaScript")
PHP-MySQL Tutorials

Last accessed pages

  1. Courses Web: PHP-MySQL JavaScript Ajax HTML CSS Flash-AS3 (41458)
  2. $_GET, $_POST and $_REQUEST Variables (18585)
  3. Read Excel file data in PHP - PhpExcelReader (31772)
  4. Check and Validate input field when loses focus, with PHP via Ajax (2744)
  5. JavaScript code and PHP (11989)

Top accessed pages

  1. Courses Web: PHP-MySQL JavaScript Ajax HTML CSS Flash-AS3 (41458)
  2. Read Excel file data in PHP - PhpExcelReader (31772)
  3. PHP-MySQL free course, online tutorials PHP MySQL code (31722)
  4. Get Attribute (ID, Class, Name, Title, Src) with jQuery (29002)
  5. PHP PDO - exec (INSERT, UPDATE, DELETE) MySQL (25979)