Some PHP functions and code snippets useful for PHP Programmers and scripts.
New PHP Code Snippets might be added soon.

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which tag adds an image in web page?
<div> <img> <span>
<img src="http://coursesweb.net/imgs/webcourses.gif" width="191" height="63" alt="Courses-Web" />
Which of these CSS codes displays the text oblique?
font-style: italic; text-decoration: underline; font-weight: 500;
#id {
  font-style: italic;
}
Click on the jQuery function used to hide with animation a HTML element.
click() hide() show()
$(document).ready(function() {
  $(".a_class").click(function(){ $(this).hide("slow"); });
});
Click on the correctly defined function in PHP.
fname function() {} function fname() {} function $fname() {};
function fname($a, $b) {
  echo $a * $b;
}
PHP Code Snippets

Last accessed pages

  1. Node.js Move and Copy file (15107)
  2. Add Pause in JavaScript script (12823)
  3. Contact page - CoursesWeb (33956)
  4. Tabs effect with CSS (34606)
  5. Making DIV Contents Scroll Horizontally, with multiple Div`s inside (41427)

Popular pages this month

  1. Making DIV Contents Scroll Horizontally, with multiple Div`s inside (2481)
  2. Contact page - CoursesWeb (2401)
  3. Tabs effect with CSS (2397)
  4. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (786)
  5. Insert, Select and Update NULL value in MySQL (656)