PHP Basic Syntax in Hindi – PHP Syntax In Hindi – PHP Main Basic Syntax Ko Understand Karne ke Liye Hamne Kuch Examples Ka Istemal Kiya Hai |
Yadi Aapne HTML Full Course And CSS Full Course Nhi Read Kiya Hai To Aap Vah Bhi Read Kar Sakte Hai |
PHP Ko Aap HTML Code Ke Under Bhi Define Kar Sakte Hai And PHP Main Jaruri Nhi Ki Aap PHP Script Ko Head Ya Body Ke Under Define Karen Aap PHP Script Ko Kahi Define Kar Sakte Hai HTML Code Under |
For Example:
<html> <head> <title> PHP Basic Syntx </title> </head> <body> <?PHP ECHO "hello world"; ?> </body> </html>
Output:
hello world
Read Also :- PHP Introduction
PHP Basic Syntax in Hindi
Contents
PHP Script Ko Start Karne Se Pahle <?php Or End Main ?> Main Likha Jata Hain Or <?php Ke Under PHP Code Hota Hain ?>
For Example :
<?php // PHP code goes here ?>
PHP File ko Save Karne Ke Liye Aap File_name.php Likhe Kyoki PHP Ki Jo Extension Hain Wo .php Hai |
PHP echo Function in Hindi
PHP Main Print Karne Ke Liye Aap echo Function Ka Istemal Kare Or Aap echo Function Ko Is Tarah Bhi Istemal Kar Sakte Hai Echo, ECHO And ecHo
Example:
<?php ECHO "Hello World!<br>"; echo "Hello World!<br>"; EcHo "Hello World!<br>"; ?>
Output:
Hello World! Hello World! Hello World!
PHP Case Sensitivity In Hindi
PHP Main Inke Liye Koi keywords Nhi Hai (e.g. if
, else
, while
, echo
, etc.), Or Inka Istemal Aap Capital Word Main Bhi Kar Sakte Hai |
PHP Language Main case-sensitive Ke Liye Aap. classes, functions, and user-defined functions Ka Istemal Kare Or Inhe Aap Change NHI Kar Sakte Hai.
Friends Mujhe Umeed Hai Ki Aapko PHP Syntax in Hindi Ke Bare Mai 100% Jankari Ho Gayi Hogi | Agar Aapko Learn Karne Main Dikkat Aa Rahi Hai To Aap Mere Se Contact Kar Sakte Hai |