Hello Friends! In this tutorial I will teach you how to start writing code in php. This tutorial is in URDU/HINDI. In this tutorial I told you that every PHP document should save with the file extension of PHP as every document of HTML was saved by giving HTML extension. Every PHP line of code should end with a semi colon.
I also told you here that you can place PHP code anywhere in your document. Also I explained here that each PHP document comprises of some text, HTML tags or codes and PHP script itself. In this way you can embed PHP code anywhere in your document.
A PHP code can be written anywhere in your program. To start the PHP code you have to write Less Than symbol followed by a question mark (?) without any space (important). To end the PHP code you have to write Question Mark (?) followed by Greater Than symbol without any space.
After typing the whole code you have to save the file with name and extension as “first.php”. It is very important to note that you have to save PHP file in the htdocs folder of the XAMPP installation folder otherwise your PHP code wouldn’t run.
I also explain here that there is a special way to execute the program output in XAMPP. For this you should write in the browser address bar the following line:
Localhost/first.php
When you type this line in the browser window it will render the output of the program. I hope that you like this video. Thanks for watching my video.
На этой странице сайта вы можете посмотреть видео онлайн How To Start Writing Code In PHP длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Najeeb Ather 17 Март 2018, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 325 раз и оно понравилось 10 зрителям. Приятного просмотра!