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
  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

Which tag is a block element?
<div> <img> <span>
<div>Web Programming and Development</div>
Which CSS code displays the text underlined?
font-style: italic; text-decoration: underline; font-weight: 500;
h2 {
  text-decoration: underline;
Click on the JavaScript function that can access other function after a specified time.
insertBefore() setTimeout() querySelector()
function someFunction() { alert(""); }
setTimeout("someFunction()", 2000);
Click on the instruction that returns the number of items of a multidimensional array in PHP.
count($array) count($array, 1) strlen()
$food = array("fruits" => array("banana", "apple"), "veggie" => array("collard", "pea"));
$nr_food = count($food, 1);
echo $nr_food;       // 6
PHP-MySQL Tutorials

Last accessed pages

  1. Butterfly Kyodai (10736)
  2. Splat Operator in PHP (1247)
  3. Logic Perspicacity Games (4065)
  4. Integer and Float value in Select with PDO from string to numeric (2921)
  5. Mahjong Gardens (2498)

Top accessed pages

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