Articles
Email Validation in PHP
Email Validation in PHP function email_validation($email){ if(ereg(“^[^@ ]+@[^@ ]+.[^@ ]+$”,$email,$trashed)){ return true; }else{ return false; } }
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; } }
Great Website for Tutorials
Great Website for Tutorials http://www.lynda.com/
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 …
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 »
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 …
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 …
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 …
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 …
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.
Browser Hack
Use * for Internet Explorer CSS properties (width:100px; *width:95px;) Use # for Google Chrome CSS Properties (width:100px; #width:95px;)
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 …
