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;

Last accessed pages

  1. Display data from PHP Array, or MySQL in HTML table (5859)
  2. PHP PDO - Select query, fetch (8305)
  3. CSS Float and Clear (1259)
  4. $_GET, $_POST and $_REQUEST Variables (13231)
  5. Insert, Select and Update NULL value in MySQL (5609)

Top accessed pages

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