Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which attribute specifies the URL address where to send the form-data?
method action name
<form action="script.php" method="post"> ... </form>
Which CSS property can be used to break lines in the middle of words?
word-wrap line-height font-size
#id {
  width: 100px;
  word-wrap: break-word;
}
Which function sorts the elements of an array into alphabetical order, based on the string values?
pop() sort() shift()
var tutorials = ["php", "html", "css", "flash"];
tutorials.sort();
alert(tutorials[0]);          // css
Indicate the function that returns the value of the last element into an array.
current() next() end()
$code = array(10=>"Perl", 20=>"PHP", 21=>"Python", 30=>"JavaScript");
$last = end($code);
echo $last;      // JavaScript

Last accessed pages

  1. DIV and SPAN (319)
  2. Forms and Input (223)
  3. Creating Mask Layers in Flash (135)
  4. PHP Chat Script (1459)
  5. Common PHP Errors and Solutions (347)

Top accessed pages

  1. PHP-MySQL free course, online tutorials PHP MySQL code (1894)
  2. Courses Web: PHP-MySQL JavaScript Ajax HTML CSS Flash-AS3 (1839)
  3. PHP PDO - exec (INSERT, UPDATE, DELETE) MySQL (1793)
  4. Get Attribute (ID, Class, Name, Title, Src) with jQuery (1521)
  5. PHP Chat Script (1459)