Wednesday, August 1, 2012

Hello Everyone, If you are the beginners to PHP, then this blog will help if up to some extent.  Here i have develop a simple example to start up which include basic CURD(Create, Update, Read and Delete) operation with Database "mysql". At first create a database, in this example i have created a database "testing" Code for database connection in php save it as dbConncection.php Now create index.html and paste following code In above code i...

Tuesday, April 24, 2012

Example to Make Pyramid according to user input in java ![CDATA[ import java.util.Scanner; public class ForLoopDemo { public ForLoopDemo() { } public static void main(String[] args) { int num, i, j, k, l; System.out.print("Enter Any Number::"); Scanner sc = new Scanner(System.in); num = sc.nextInt(); for (i = 1; i = num; i++) { for (j = 1; j = 1; k--) { System.out.print(k); } for...