Skip to main content

Posts

Showing posts from 2010

PHP Programming

Here are few of the of the points that one has to learn about the php programming language Point / Topic / Trick Description / Detail isset to check if a variable is set and is not null; empty check if a variable is empty or not preg_replace Perform a regular expression search and replace urlencode to encode the url in a way that it can be used directly as the query part of the url htmlentities transforms the html tags or html characters to plain text i.e. < is replaced by < and > by > {..} in strings // inorder to use the php variables inside the query string, we have to use them within the curly braces like echo $feedUrl = "http://www.google.com/?q={$i}&option=search"; //during content rendering, the value is substituted instead of that variable $i. Technorati Tags: php , isset , keywords , tips , tricks , important points in php , must know in php