Php-mysql Course


- All these scripts are free, and have helpful explanations in their code, useful for those interested to learn PHP.


If God wants, new PHP - MySQL - AJAX scripts will be added soon.

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
What attribute makes a radio button or checkbox input selected?
checked="checked" selected="selected" disabled="disabled"
<input type="checkbox" name="a_name" value="value" checked="checked" />
What CSS value scales the background image to the largest size contained within the element?
repeat-x contain linear-gradient
#id {
  background:url("path_to_image.png");
  background-size:contain;
  background-repeat:no-repeat;
}
What operator is used to determine the rest of the division of two numbers?
% * /
var rest8_7 = 8 % 7;
alert(rest8_7);
Indicate the PHP function that rounds a number up to the next highest integer.
floor() ceil() abs()
$nr = ceil(3.5);
echo $nr;        // 4
PHP-MySQL Scripts

Last accessed pages

  1. Create simple Website with PHP (40315)
  2. Get Attribute (ID, Class, Name, Title, Src) with jQuery (72518)
  3. Recursive function to create Multi-Level Menu in PHP (11098)
  4. Prayer The Art of Believing (1255)
  5. Ajax-PHP Rating Stars Script (16247)

Popular pages this month

  1. PHP Unzipper - Extract Zip, Rar Archives (100)
  2. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (86)
  3. SHA256 Encrypt hash in JavaScript (71)
  4. querySelector and querySelectorAll (50)
  5. SHA1 Encrypt data in JavaScript (45)