Oct

9

2013
php

PHP learning 10

Now We are moving to the next page that is registration please refer the section 7 for know the code. I hope i can skip the first three lines of the registration page. It is already explained in previous articles. I’m moving towards the next line. 1 if(isset($_POST[‘submit’])){ GET, POST, REQUEST in PHP There are number of superglobal variables in php $GLOBALS $_SERVER $_GET $_POST $_FILES $_COOKIE $_SESSION $_REQUEST $_ENV We are […]

read more

Oct

8

2013
php

PHP learning 9

HI friends hope you are familiar with the previous portions. Now we are continuing our explanation of code from learning 7. I’m skipping the html codes. and we are directly going to line number 28. 1 <a href="Registration.php" style="text-decoration:none; font-size:24px;">Resistration</a> This line of code used to redirect to the registration form.This is known as anchor tag.In href portion we give our page to which we want to be redirected. Now we are […]

read more

Oct

1

2013
php

PHP learning 8

Hi friends, Hope all of you are run the project and happy in working on it.Today I would like to discuss the index.php page.Before beginning I want to tell u that the HTML codes used in this page are not in a good standard and this is not the actual method of developing a site. The page should be styled with css. here all the codes are written in line,this is not […]

read more

Sep

30

2013
oop-1

PHP learning 7

I hope you all know about what is object oriented programming and what is procedure oriented programming. if you know those i can skip that section.I hope the following simple example help you to understand how to create a website using php and about object oriented programming in php. lets go through that…… Project Summary I’m going to explain a student registration project.Here a student want to be registered and display the […]

read more

Sep

25

2013
loop

PHP learning 6

Hi all. Hope you read yesterdays article there i give some work to you. Here the code for the same Printing 1 – 10 1 2 3 4 5 6 <?php //Code for printing a statement for($i=1;$i<11;$i++){ echo $i." "; } ?> Printing 10 – 1 1 2 3 4 5 6 <?php //Code for printing a statement for($i=10;$i>0;$i–){ echo $i." "; } ?> odd numbers 1 2 3 4 5 6 […]

read more