Articles
Pseudo Classes in CSS
Pseudo Classes in CSS Anchor Pseudo Classes a:link {color:#FF0000;} /* unvisited link */ a:visited {color:#00FF00;} /* visited link */ a:hover {color:#FF00FF;} /* mouse over link */ a:active {color:#0000FF;} /* selected link */ Other Pseudo Classes input:focus {background-color:#0000FF;} /* background color change on focus */ p:first-letter {font-size:20px;} /* make first letter size large */ p:first-line {font-weight:bold;} …
GIT versus SVN
GIT versus SVN Summary of Comparison Git is much faster than Subversion Subversion allows you to check out just a subtree of a repository; Git requires you to clone the entire repository (including history) and create a working copy that mirrors at least a subset of the items under version control. Git’s repositories are much …
PHP Operators Examples
PHP Operators Examples PHP Arithematic Operators Operator Name Description Example Result x + y Addition Sum of x and y 2 + 2 4 x – y Subtraction Difference of x and y 5 – 2 3 x * y Multiplication Product of x and y 5 * 2 10 x / y Division Quotient …
Access LinkedIn Companies/Groups/jobs/Contacts in PHP
Access LinkedIn Companies/Groups/jobs/Contacts in PHP A simple way to access LinkedIn all data which includes: Own Profile Information My Grouops All Jobs (Also my jobs) My Network (My Contacts) By using a stand-alone OAuth/LinkedIn API solution, we don’t need to install any server/PHP extensions, which usually require some form of root access. Download the code …
Access LinkedIn Companies/Groups/jobs/Contacts in PHP Read More »
Share Text/URL on Facebook, Twitter and LinkedIn
Share Text/URL on Facebook, Twitter and LinkedIn A common and very important activity in web development. How to allow our website content to our visitors, share on their walls ? You need to keep an eye on these steps : 1- Facebook : https://www.facebook.com/sharer/sharer.php?u=www.naveedramzan.com Title, description will be grabbed automatically from the meta and title …
Share Text/URL on Facebook, Twitter and LinkedIn Read More »
Why to Choose CakePHP
Why to Choose CakePHP When we start working with CakePHP. We having experience of web development in PHP. We need to findout a framework on the following needs : Fast Learning Helpfull Documentation Code examples to get clear idea of workings Find opensource so easy to upgrade and integrate add-on(s) Its important that which kind …
What is Cake PHP
What is Cake PHP CakePHP is an open source web application framework. It is written in PHP, modeled after the concepts of Ruby on Rails, and distributed under the MIT License. CakePHP uses well-known software engineering concepts and software design patterns, as Convention over configuration, Model-View-Controller, ActiveRecord, Association Data Mapping, and Front Controller.
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 »
