Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Click on the tag that creates a cell in table
<tr> <span> <td>
<table></tr>
  <td>Cell-1</td><td>Cell-2</td>
</tr></table>
Indicate the CSS property used to specify a background image for an element
background-color background-image color
h3 {
  background-image: url("image.jpg");
}
What instruction can be used to parse all the array items?
for() array() object()
var arr = [1, "ab", "CoursesWeb.net"];
for(var i=0; i< arr.length; i++) { alert(arr[i]); };
Indicate the PHP instruction used to traverse an associative array.
for() foreach() if()
$arr = array("k1"=>"v1", "k2"=>"v2", "k3"=>"v3");
foreach($arr AS $k => $v) { echo "<br/>". $k ." - ". $v; }

Last accessed pages

  1. PHP getElementById and getElementsByTagName (8789)
  2. Countdown Timer with starting time added into a form (3286)
  3. JavaScript trim, rtrim and ltrim (2637)
  4. PHP MySQL Online Video Course and Tutorials (4028)
  5. Check if table exists in databse (2261)

Top accessed pages

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