∼ Gandul si ideea zilei:

Mai bine mai tarziu decat niciodata.

Un cuvant intelept poate ajuta mai mult decat un teanc de bani.

∼ Thought and idea of the day:

Better late than never.

A wise word can help more than a pile of money.

Daily Test with Code Example

Which HTML5 tag is indicated to be used as container for menu with navigation links in Web site?
<section> <nav> <article>
 <li><a href="http://coursesweb.net/css/" title="CSS Course">CSS Course</a></li>
 <li><a href="http://www.marplo.net/jocuri/" title="Flash Games">Flash Games</a></li>
Which CSS property shifts an item horizontally to the left or right of where it was?
text-align clear float
.some_class {
  width: 30%;
  float: left;
Click on the Math object method which returns x, rounded downwards to the nearest integer.
Math.ceil(x) Math.abs(x) Math.floor(x)
var num = 12.34567;
num = Math.floor(num);
alert(num);       // 12
Indicate the PHP function which returns the number of characters in string.
mb_strlen() count() stristr()
$str = "string with utf-8 chars åèö";
$nrchr = mb_strlen($str);
echo $nrchr;        // 30

Latest Articles on CoursesWeb.net

How to use php variable in external js file

- Javascript tutorial about using the value of a php variable into an external javascript file
Usually you can't add php code in external javascript (js) file. But, you can add and use php code in the page in which the external javascript ...

Simple Ajax-PHP Contact Form Script

- Simple contact form script to receive messages from the users of your site. It is made with PHP and Ajax, it can be added in php and html files
With this script (made with PHP and Ajax) you can add in your web site a simple contact form. The visitors of your website will can contact ...

How to get JSON data from JavaScript to PHP

- Ajax tutorial with examples about getting JSON data in PHP sent from JavaScript
This tutorial explains with code examples how to get JSON data sent with Ajax from JavaScript to PHP.
You can use one of these variants: Using the php://input stream ...

JavaScript Game - Find the Word

- JavaScript script for educational games, Find the Word, made with Pixi JS; it is like Hangman
A script for educational games (named: Find the Word, it is like Hangman) created with JavaScript, with Pixi JS framework. The quizzes (questions and answers) are stored ...

Web Programming Tests

- Trivia quizzes to test your web programming and development knowledge: html, css, javascript, and php
Simple exercises with quiestions and answer to test your web programming knowledge.
You can choose consecutive or random quizzes, optional with countdown timer.
Choose the Category HTML CSS ...

The Power of Positive Thinking

- Spirituality and self-help e-book in pdf and audio mp3 format, The Power of Positive Thinking by Norman Vincent Peale
The Power of Positive Thinking is a self-help book by Norman Vincent Peale, originally published in 1952. It makes use of positive case histories and practical instructions ...

Currency exchange rates and converter with data from European Central Bank

- Ajax, Php, Mysql application to add in webpage currency exchange rates and converter with data from European Central Bank
Download Script Application made with PHP and JavaScript that displays and converts currency exchange rates with data from European Central Bank (ECB).
This script displays ...

Using openssl_encrypt and openssl_decrypt in PHP

- How to use the openssl_encrypt and openssl_decrypt functions to encrypt and decrypt password in PHP
The openssl_encrypt() and openssl_decrypt() functions can be used to encrypt and decrypt text in PHP.
They are useful to encrypt and decrypt the user password ...

Using server-sent events - EventSource

- JS Course, how to use server-sent events in HTML5 and JavaScript. The EventSource object. Setting time interval in server sent events.
Sending event message from the server Example server sent events ...

JavaScript Worker

- JS course, what is Worker object and how to use it in JavaScript applications. Code and example.
Receiving data in the worker file Terminate Worker Importing scripts in worker file
Web Worke ...

Properties and Methods of the window object

- Lists with properties and methods of the window object in JavaScript. Codes and examples.
Methods of the window object
The window object contains many properties and methods, a full list you can find to ...

List with JavaScript events

- List with some of the most used JavaScript events, with code and examples.
Events for Drag-Drop Events for media Events for mouse Events for form elements ...

Latest Subjects on Forum

imgbrowse CKEditor files upload, don't show up in imgbrowse I've downloaded the CKEditor with Free Image Browse and Upload Plugins (version 4.5.3) package, from: coursesweb.net/javascript/ckeditor-image-browse_s2Have it set up and *almost* working.I upload an image, and it says ..
Display data from mysql that has specified string I have a simple script to show the visited urlbut from my sql table I would like to display only the 'tag=variables', not id= or other query_strings.Is their ..
Adding data from from url in Pagination Class Chief I hope you don't get a headache from meAbout a year and a half ago you added an id detection from url in the pagination class from ..
Problem JS script with php code I try to add this script to build a energy-low-mode dark-modeBut It only succeed with one item but I would like to have it with all items 6 ..
Get id from url in javascript Last time you learnt me how to add an id from url to a javascriptbut by this script it is not working what do I do wrong ????<?php ..
Help with SSEP cron script Edit: I found the problem.This line: $start_url = (!empty($_SERVER['HTTPS']) ? 'https://' : 'http://'). $objci->domain;I had to change it to $start_url = 'https://' . $objci->domain;I ..
SSEP - not following relative links correctly Hello, the SSEP scripts work nearly perfect for my site, except for some weird reason they don't follow relative paths correctly.Say for example: I add my domain https://mydomain.com ..
Ajax-PHP File Manager with CKEditor Loving your Ajax-PHP File Manager, great job! - coursesweb.net/php-mysql/ajax-php-file-manager_s2Was thinking to using this in classroom project to allow kids ability to edit html/htm files.Have added everything and CKEditor ..
FTM2S extend Sessions As previously stated, using FTM2S in a closed enviroment and security in not a huge concern.Is there a way to extend the remote FTP login sessions? Like to ..
FTM2S Disable Login Really like the simplicity of FTM2S: coursesweb.net/php-mysql/ftm2s-file-transfer-manager-two-servers Since using on a closed network and not worried about anyone else logging in, is any simple way to disable ..

Today I want to learn ...


The language used to create web pages.

Learn HTML
Example HTML
HTML code


The language used for web pages design.

Learn CSS
Example CSS
CSS code


Add interactivity and effects to webpages.

JavaScript Node.js
Example JavaScript code
JavaScript code


Creates dynamic and interactive webpages with data from database.

PHP - MySQL Course PHP Laravel
PHP Code
PHP code


Calls in JavaScript PHP scripts from server.

Ajax Course
Example Ajax function
Ajax code
Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS

Last accessed pages

  1. Contact page - CoursesWeb (16168)
  2. Tabs effect with CSS (16864)
  3. Making DIV Contents Scroll Horizontally, with multiple Div`s inside (23003)
  4. Convert XML to JSON in PHP (8790)
  5. ASP.NET Courses (474)

Popular pages this month

  1. Making DIV Contents Scroll Horizontally, with multiple Div`s inside (1438)
  2. Tabs effect with CSS (1373)
  3. Contact page - CoursesWeb (1370)
  4. Insert, Select and Update NULL value in MySQL (793)
  5. PHP getElementById and getElementsByTagName (623)