Wordpress - lalumishra.wordpress.com - WEB CODE ++

Latest News:

PopUp Boxes 31 Jul 2010 | 06:07 pm

Basis 1.Alert Box -The syntax for an alert box is: alert(“text”); -The user will need to click “OK” to proceed. -It is used when you want to make sure information comes through to the user. -Ex ...

Sessions in PHP 29 Jul 2010 | 11:30 pm

Basis Sessions are used to store information which can be used through-out the application for the entire time the user is logged in or running the application. Each time a user visits your website, ...

Retrieving Cookie 25 Jul 2010 | 09:43 pm

Basis If your cookie hasn’t expired yet, let’s retrieve it from the user’s PC using the aptly named $_COOKIE associative array. The name of your stored cookie is the key and will let you retrieve you...

Creating PHP Cookies 25 Jul 2010 | 09:32 pm

Basis When you create a cookie, using the function setcookie, you must specify three arguments. These arguments are setcookie(name, value, expiration): 1. name: The name of your cookie. You will use...

PHP Functions – Parameters 24 Jul 2010 | 10:22 pm

Basis Another useful thing about functions is that you can send them information that the function can then use. Ex <?php function greeting($name){ echo “Hello there “. $name . “!<br />”; } gre...

PHP – Functions 24 Jul 2010 | 05:12 pm

Basis A function is just a name we give to a block of code that can be executed whenever we need it. Ex <?php function myfunction(){ echo “i am in function. <br />”; } echo “Hello world. <br />...

Validating Form Input: Numbers 23 Jul 2010 | 11:16 pm

Basis You want to make sure a number is entered in a form input box. Ex <?php if (! ctype_digit($_POST['age'])) { print ‘Your age must be a number bigger than or equal to zero.’; } ?> Outline ...

Copy to Clipboard in javascript using zeroclipboard 22 Jul 2010 | 06:04 pm

zeroclipboard After hrs of debugging able to figure out how to copy to clipboard. The solution provided by zeroclipboard seems to be working, but sometime bit time consuming to do it correctly. Zero...

what is views in Codeigniter 18 Jul 2010 | 09:58 pm

Basis views are resposnsible for showing the final out as HTML page.Views are loaded in controller to work on.we can have multiple view files like header,footer,index etc.Below is a simple example of...

What is Models in codeigniter 18 Jul 2010 | 09:50 pm

Basis Models are optionally stored, if you want you can ignore it also.These are designed to work with  database query like insert,update,create,delete and database information.Suppose you want to in...

Recently parsed news:

Recent searches: