PHP (Personal home Page)
Php is a server side scipting language.which was released in 1995.It was created by rasmus lerdorf.If is used to make dynamic and interative websites.
Why should I use Php?
1. If is free to download end use.
2.Php is used on are than 244 million website.
3.Php used karne ke liye hume subse pahle server ya xamp server ka use karne hota hai. Means upload Karna hota hai.
CREATE FIRST PHP FILE:-
1:- Php file create karne ke liye hume subse pahle xamp $ Xamp server ka use karna parta hai or hume ek text editor software ka bh use karna harta hai....
Notepad++
2:- Sabse pahle hum Notepad++ nein Normal tags likhege uske baad hum opne Xamp server mein usko save karenge.
. Sabse pahle hum jaha Xamp server install hoga waha jayenge
. Uske under htdos Name ka folder hoga uske under
. Ek folder banayange jo aap ka man ho
. Phir uske under hum jo Notepad++ ke file hai use save karenge
Uske baad hum apne local host me Jakar check kar sakte hai. Aap ki file ceate ho jayegi.
PHP SYNTAX, Php echo function,Php print function
Php code ko use karne ke liye sabse pahle hume kai syntax chahiye hota hai.jaise under hum sara php code likhte hai.
Code:-
<?php
Jo code likhte hai va yaha likhna hai
?>

No comments:
Post a Comment