Web Development November 14, 2012

Email Validation in PHP

Email Validation in PHP function email_validation($email){ if(ereg(“^[^@ ]+@[^@ ]+.[^@ ]+$”,$email,$trashed)){ return true; }else{ return false; } }

Web Development November 14, 2012

Phone Validation in PHP

Phone Validation in PHP function phone_validation($phone){ if(preg_match(‘/^[0-9]{10||11}$/’, $phone)){ return true; }else{ return false; } }

Information Technology News October 16, 2012

Great Website for Tutorials

Great Website for Tutorials http://www.lynda.com/

Web Development October 13, 2012

How to include Header footer in PHP project

How to include Header footer in PHP project PHP provides four functions which enable you to insert code from other files. * include() * require() * include_once() * require_once() All four can take a local file or URL as input. None of them can import a remote file. require() and include() functions are virtually similar …

How to include Header footer in PHP project Read More »

Self Management October 3, 2012

Get Record from database based on field id and record id in php and mysql

Get Record from database based on field id and record id in php and mysql Mostly we need to get all record details of foriegn key used in another table. Such as, we have Three tables: Orders (id, order_date, order_status, user_id) Products (id, name, price, quantity, status) Users (id, name, email, password, status) in order, …

Get Record from database based on field id and record id in php and mysql Read More »

Information Technology News September 27, 2012

15 Amazing Facts About Google

15 Amazing Facts About Google 1) Google began as a research project in 1996. 2) The original nickname was BackRub due to the backlink technology used to determine site importance but eventually changed the name to Google originating from the misspelling of the word “Googol to signify the large quantities of information for people that …

15 Amazing Facts About Google Read More »

Self Management September 20, 2012

Keyboard Shortcuts

Keyboard shortcuts Getting used to using your keyboard exclusively and leaving your mouse behind will make you much more efficient at performing any task on any Windows system. I use the following keyboard shortcuts every day: Windows key + R = Run menu This is usually followed by: cmd = Command Prompt iexplore + “web …

Keyboard Shortcuts Read More »

Self Management September 20, 2012

Major mistakes in HTML

Major mistakes in HTML Do not use Block elements inside the Inline elements <a href=””><h3>Click Me</h3></a>        In Correct <h3><a href=””>Click Me</a></h3>        Correct Do not avoid to insert ALT and TITLE tags in image and hyperlinks tags <img src=”images/logo.png”>                     In …

Major mistakes in HTML Read More »

Self Management September 19, 2012

Expert Google Searching Tips

Expert Google Search Tips Explicit Phrase:Lets say you are looking for content about internet marketing.  Instead of just typing internet marketing into the Google search box, you will likely be better off searching explicitly for the phrase.  To do this, simply enclose the search phrase within double quotes. Example: “internet marketing” Exclude Words:Lets say you want to …

Expert Google Searching Tips Read More »

Self Management September 19, 2012

Responsive Design

Responsive Design A website that responds to the device that accesses it and delivers the appropriate output for it uses responsive design. Rather than designing multiple sites for different-sized devices, this approach designs one site but specifies how it should appear on varied devices.

Self Management September 16, 2012

Browser Hack

Use * for Internet Explorer CSS properties (width:100px; *width:95px;) Use # for Google Chrome CSS Properties (width:100px; #width:95px;)

CodeIgniter September 15, 2012

Codeigniter URL Rewriting

Codeigniter URL Rewriting mostly we need to rewrite URLs to provide user friendly URLs of projects. In CodeIgniter its much simple rather than manual writing HTAccess Rules. Suppose you have : Controller (users) Function (index) list of all users Function (add) add user Function (view) view user Function (update) update user information Function (delete) delete …

Codeigniter URL Rewriting Read More »