New PHP - MySQL tutorials might be added soon.

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

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
What attribute makes an option from <select> selected?
checked="checked" selected="selected" disabled="disabled"
<select name="a_name">
 <option value="val1">Option 1</option>
 <option value="val2" selected="selected">Option 2</option>
</select>
What CSS value allows to create color gradients for background?
contain repeat-x linear-gradient
#id {
  background: linear-gradient(top left, #1f1, #fff, #11f);
}
What statement creates an array in JavaScript?
[] {} new Object()
var arr = [1, "CoursesWeb.net", "MarPlo.net"];
alert(arr[2]);
Indicate the PHP function used to redirect to other page.
function() header() switch()
header("Location: http://coursesweb.net/");
exit;
PHP-MySQL Tutorials

Last accessed pages

  1. Courses Web: PHP-MySQL JavaScript Ajax HTML CSS Flash-AS3 (5231)
  2. Working with Symbols and their Instances (160)
  3. Script comments with pagination (344)
  4. Simple PHP Upload Script (1065)
  5. Get the value of the selected /checked checkboxes in a form (2835)

Top accessed pages

  1. PHP-MySQL free course, online tutorials PHP MySQL code (5439)
  2. Courses Web: PHP-MySQL JavaScript Ajax HTML CSS Flash-AS3 (5231)
  3. Get Attribute (ID, Class, Name, Title, Src) with jQuery (5030)
  4. PHP PDO - exec (INSERT, UPDATE, DELETE) MySQL (4825)
  5. PHP Chat Script (4587)