Archive for the ‘PHP’ Category
Sunday, January 23rd, 2011
Generally when majority of your templates use the same headers and footers, it is obviously a good choice to split those out into their own templates and include them. But what if the header needs to have a different title, depending on what page you are coming from? For this ...
Posted in Others, PHP, Smarty | No Comments »
Sunday, January 23rd, 2011
Sometimes instead of printing an empty variable you may need to print a default value. For example printing a sign "*" instead of printing nothing so that the page should appear in understandable form. Yes! you can use rather most of the people use {if} statement for this but there ...
Posted in Others, PHP, Smarty | No Comments »
Saturday, January 22nd, 2011
Using Smarty method get_template_vars(), you can access the smarty template variables in PHP scripts. However, these template variables are only available after or during the execution of template. The other way to use those template variables can be achieved by embedding PHP code directly into the smarty template using {php} ...
Posted in Others, PHP, Smarty | No Comments »
Saturday, January 15th, 2011
JSON stands for JavaScript Object Notation and used by many technologies like PHP and Java.Its data interchange data format used for transferring the data over the internet.it was made to be used with JavaScript for accessing remote data, but now it is used by many other languages as JSON data ...
Posted in Others, PHP | No Comments »
Thursday, December 9th, 2010
You may have thought several times that why e-mail not sent from the localhost while using any of the server whether it is XAMPP, WAMP or any other in windows environment? well you can send email from localhost in PHP, only you need to do is make some changes in ...
Posted in Others, PHP, Web Development | No Comments »