Monday, 20 July 2015

POST method

Note :
HTML can have "post" method as both in upper & lower case but php doesn't allow lower case.

Important commands

4 Important commands for php :
Insert ,select ,update ,delete 

Varchar vs char datatype

Varchar releases the space if data stored less than specified in database
While char doesn't release memory.

Printing welcome in php

To print "welcome" in php:
<?php
echo "welcome" ;
?>

echo is used to print something.

Basic syntax

Basic Syntax of php :
<?php  (starting tag)
?>   [closing tag]

Full form of WAMPP

WAMPP ,XAMPP ,LAMPP
W-->WINDOW
A-->APACHE
M-->MySQL
P-->PHP ,PYTHON OR PERL

XAMPP:
X-->CROSS PLATFORM
LAMP:
L-->LINUX

LAMPP

To start lampp in Linux , type these commands in its terminal :

cd/opt/lampp  (after this press enter key)
sudo   chmod   777  htdocs (press enter)

password:   (type here the system password)

sudo   / opt /lampp/  lampp  start (press enter key)

In browser type URL:

localhost/phpmyadmin(press enter)

.,

,,,

...

......

....

.

...

..

..

...

Thursday, 9 July 2015

Beginning !!!

It is the day u want to know about php ,am I right? U would have questions in your mind like: what's php?,why to use it?,what are the benefits learning it? How tough is it to learn? etc. Here is the solutions to these questions...


About
php stands for "hyper text pre processor". It's a programming language mainly used to develop websites. Both static and dynamic websites can be developed using this language. This language is very popular and demanding in market nowadays.


NOW YOU KNOW :
1. What's php?

It's a programming language mainly used to develop websites. The word php stands for "hyper text preprocessor".


2. Why to use php?

php is used to create websites. This language is very easy to learn. This language has a very good scope in market. The most popular websites of
this era like Facebook ,Google ,YouTube  etc. many have been written in php.