Font Size
Free Script installer FORUMS Ad management Portals and Cms Blogs Welcome Hepsia cPanel hosting
Free Script installer
You're about to get acquainted with a brand new mechanism of installing and managing PHP scripts. Our Elefante Installer allows you to install and manage blogs, forums, image galleries, content management systems, e-shops and many more, without any knowledge of basic programming languages such as HTML, PHP, etc. The Elefante Installer is a FREE PHP web application services installer which makes it easy for you to automatically install over 40 popular PHP script packages straight from your personal Web Hosting Control Panel or have the script insalled when you sign up ready for use.
Read the Full Story
FORUMS
An Internet forum is a discussion area on a website. Website members can post discussions and read and respond to posts by other forum members. An Internet forum can be focused on nearly any subject and a sense of an online community, or virtual community, tends to develop among forum members.
Read the Full Story
Ad management

Ad Management Scripts/Software

Pop-ups and other kinds of advertisements are a constant irritation for many Internet users. But, like all things media (such as television and radio), the web can't continue to exist without them. Whether webmasters like it or not, advertising helps pay their bills to keep their sites running. Therefore, it's always a good idea to know how to make them work for you. One way you can do this is to use ad management scripts or software. The sheer number available, online or otherwise, guarantees that you'll be able to find one that will fit your needs and budget.
Read the Full Story
Portals and Cms
A portal Web site is a Web site that aims to be your "portal," or entranceway,  to most anything you can do on the Web. For example, Yahoo is considered a  portal because it offers a search engine that helps you find other Web sites, as  well as topics categories such as finance,  travel, health, etc. that help you find information on the Web about those  topics. In the 1998-2001 phase of the Internet, many Web sites aspired to be  portals, because they believed it would mean users would use them as their  "start page" and visit frequently, even if they eventually left to visit other  Web sites. However, these days, most Web sites do not want to be mere start  pages; they want to keep you on their Web site for as long as possible, and not  take you to other Web sites.
Read the Full Story
Blogs

What's a blog?

A blog is a personal diary. A daily pulpit. A collaborative space. A political soapbox. A breaking-news outlet. A collection of links. Your own private thoughts. Memos to the world. Your blog is whatever you want it to be. There are millions of them, in all shapes and sizes, and there are no real rules. In simple terms, a blog is a website, where you write stuff on an ongoing basis. New stuff shows up at the top, so your visitors can read what's new. Then they comment on it or link to it or email you. Or not
Read the Full Story
Welcome
  • Upto unlimited GB Disc Space
  • Upto Unlimited Data Transfer
  • FTP, Stats
  • Upto unlimited Email Accounts
  • Free sub Domain Name
  • Free Site Builder
  • Unlimited Domain Hosting
 
Read the Full Story
Hepsia cPanel hosting

Hepsia Control Panel Top Features

You can now register, transfer or manage multiple domain names & websites from just one place. This is something cPanel has big problems with. Actually there is no Domain Manager at all in cPanel. With Hepsia you can set up and manage multiple fully independent websites from a single account. No need to have separate control panels (i.e. logins) for your domains, support tickets and billing.
Read the Full Story

MySQL Date column type part 2

Using Date to sort data

select e_id, birth_date
from employee_per
ORDER BY birth_date;

+------+------------+
| e_id | birth_date |
+------+------------+
|   11 | 1957-11-04 |
|   16 | 1964-03-06 |
|   21 | 1964-06-13 |
|   14 | 1965-04-28 |
|   15 | 1966-06-23 |
|    7 | 1966-08-20 |
|   10 | 1967-07-06 |
|   20 | 1968-01-25 |
|   12 | 1968-02-15 |
|    2 | 1968-04-02 |
|    9 | 1968-05-19 |
|   13 | 1968-09-03 |
|    3 | 1968-09-22 |
|    6 | 1969-12-31 |
|   17 | 1970-04-18 |
|    1 | 1972-03-16 |
|    4 | 1972-08-09 |
|   19 | 1973-01-20 |
|   18 | 1973-10-09 |
|    5 | 1974-10-13 |
|    8 | 1975-01-12 |
+------+------------+

Selecting data using Dates

Here is how we can select employees born in March.

select e_id, birth_date
from employee_per
where MONTH(birth_date) = 3;

+------+------------+
| e_id | birth_date |
+------+------------+
|    1 | 1972-03-16 |
|   16 | 1964-03-06 |
+------+------------+
2 rows in set (0.00 sec)

Alternatively, we can use month names instead of numbers.

select e_id, birth_date
from employee_per
where MONTHNAME(birth_date) = 'January';

+------+------------+
| e_id | birth_date |
+------+------------+
|    8 | 1975-01-12 |
|   19 | 1973-01-20 |
|   20 | 1968-01-25 |
+------+------------+
3 rows in set (0.00 sec)

Be careful when using month names as they are case sensitive. Thus, January will work but JANUARY will not!

Similarly, you can select employees born in a specific year or under specific dates.

select e_id, birth_date
from employee_per
where year(birth_date) = 1972;

+------+------------+
| e_id | birth_date |
+------+------------+
|    1 | 1972-03-16 |
|    4 | 1972-08-09 |
+------+------------+
2 rows in set (0.00 sec)

select e_id, birth_date
from employee_per
where DAYOFMONTH(birth_date) = 20;

+------+------------+
| e_id | birth_date |
+------+------------+
|    7 | 1966-08-20 |
|   19 | 1973-01-20 |
+------+------------+
2 rows in set (0.00 sec)

Current dates

We had seen in the session on SELECT statement (
A little more on the SELECT statement) that current date, month and year can be displayed with CURRENT_DATE argument to DAYOFMONTH(), MONTH() and YEAR() clauses, respectively. The same can be used to select data from tables.

select e_id, birth_date
from employee_per where
MONTH(birth_date) = MONTH(CURRENT_DATE);

+------+------------+
| e_id | birth_date |
+------+------------+
|    8 | 1975-01-12 |
|   19 | 1973-01-20 |
|   20 | 1968-01-25 |
+------+------------+
3 rows in set (0.00 sec)

DMCA.com

Adds