Sixth Sense {Blog}, Spirituality, Hinduism, Free Downloads, SEO, Web dev, Learning PHP, Indian Cooking, News, Earthquake prediction


Archive for the ‘Learn PHP’ Category

Learn PHP : Making a connection to MySQL database

30th March 2010 by Param Lowe No Comments

The benefit of choosing PHP as a web platform is its utility in dynamic and database driven web applications. It is fairly easy in PHP script to make a connection to MySQL database.

<?php
$connection = mysql_connect(”DataBase-Host”, “DataBase-User”,”Password-of-databse”)
OR die(’Error connecting to mysql’); // means do not execute code any further.
$dbname = ‘databasename’;
mysql_select_db($dbname);
?>

There is one more better [...]

Script Code : PHP Sessions Starting, Setting and Closing

27th March 2010 by Param Lowe No Comments

PHP Tutorial [Beginner's Basic learning] - Sessions in PHP. Starting, Setting and Closing
Session(s) is a temporary storage of values/data to variables to be used for serving web user in a better and interactive way. The data stored in sessions can be either user provided or is being drawn from a stored database at server end.
Starting [...]

Learn PHP : Lesson 1 - Get it Easy

21st October 2009 by Param Lowe No Comments

Ok you wanna learn PHP. Who knows you might be running next big thing. What ever! lets start first lesson. Your first code in PHP scripting language. I would advise you to learn a bit of HTML before you jump into PHP coding thing.
Like HTML, PHP also lives in tags known as open and close [...]