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 attribute specifies the HTTP method (GET, POST) used to submit the form-data?
action method value
<form action="script.php" method="post"> ... </form>
Which CSS property allows to add shadow to boxes?
background-image box-shadow border-radius
#id {
  background-color: #bbfeda;
  box-shadow: 11px 11px 5px #7878da;
Which function removes the first element from an array?
pop() push() shift()
var fruits = ["apple", "apricot", "banana"];
alert(fruits.length);           // 2
Indicate the function that can be used to check if a PHP extension is instaled.
function() filetype() extension_loaded()
if(extension_loaded("PDO") === true) echo "PDO is available."
PHP-MySQL Tutorials

Last accessed pages

  1. Clear Canvas Context (1268)
  2. Get Attribute (ID, Class, Name, Title, Src) with jQuery (20759)
  3. Multiple Select Dropdown List with AJAX (8936)
  4. Get the value of the selected /checked checkboxes in a form (12225)
  5. Replace JavaScript variable name from string with its value (590)

Top accessed pages

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