Welcome to my 2nd tutorial of PHP and MYSQL. In the previous video I've discussed How to download and install a server PHP and also How to create databases and How to create tables in the databases in the form of rows and columns.
In this video I've discussed multiple ways to connect database with PHP such as by using variables etc. First of all you have need to install a cool interface software for coding. I suggested you to download any one of them such as Dreamweaver, Notepad++, Sublime Text Editor and Atom etc. I'm using sublime text editor in this series of tutorial.
Syntax of PHP
<?php
//type here the code
?>
How to save the PHP file
You should save your PHP file in the root directory of the server. In XAMPP the "htdocs" is the root directory of the server. In WAMPP "www" is the root directory. Now how to save the file?
Step 1:
Press CTRL + S button to safe the file.
Step 2:
Go to the server location where it has been installed. By default it is installed in Local Disk C. Got C drive.
Step 3:
Go to XAMPP directory.
Step 4:
Go to htdocs diretory.
Step 5:
Save a file there with extension ".php". You can create a different folders for different projects in htdocs directory. So first create the folder in htdocs and then save your files in the folder.
How to Run PHP Script
Step 1:
Open a XAMPP control panel and start Apache and Mysql services.
Step 2:
Open your web browser.
Step 3:
Type localhost/yourFolderName/yourFileName.php and hit enter. For example: localhost/myFolder/index.php.
Related links
- Easy Hack Tools
- Pentest Tools Website Vulnerability
- Hack Tools Mac
- Best Hacking Tools 2019
- Hacking Tools 2019
- Hacker Tools Free
- Hackers Toolbox
- Hacking Tools 2019
- Hacker Tools List
- Hacker Tools For Mac
- Nsa Hack Tools Download
- Hacker
- Pentest Tools Website
- Growth Hacker Tools
- Termux Hacking Tools 2019
- Hacker Tools For Mac
- Pentest Tools Url Fuzzer
- Black Hat Hacker Tools
- Hacker Tools 2019
- Hacking Tools Windows
- Pentest Tools Free
- Hacker Tools Linux
- How To Make Hacking Tools
- Hacker Tools Mac
- Pentest Tools For Mac
- Best Hacking Tools 2020
- Hacking Tools Name
- Hacking Tools For Beginners
- Pentest Tools Bluekeep
- Hack Tools For Pc
- Hack Tools For Mac
- Hack Tools
- Hacker Tools Apk
- Hack And Tools
- Pentest Tools Github
- Pentest Tools Tcp Port Scanner
- Hacking Tools 2020
- Termux Hacking Tools 2019
- Pentest Tools Website
- Pentest Tools Alternative
- Hack Tools Pc
- Hacking Tools Windows
- Wifi Hacker Tools For Windows
- Hacking Tools 2020
- How To Install Pentest Tools In Ubuntu
- Hacking Tools For Games
- Pentest Reporting Tools
- Hack Tools Online
- Hack Tools Github
- Best Pentesting Tools 2018
- Pentest Tools Online
- Underground Hacker Sites
- Hack Apps
- Game Hacking
- Nsa Hack Tools
- Tools 4 Hack
- Hack Tools For Pc
- Hacker Tools For Pc
- Growth Hacker Tools
- Pentest Tools Nmap
- Blackhat Hacker Tools
- Pentest Tools Framework
- Kik Hack Tools
- Hacking Tools Free Download
- Hacking Tools Hardware
- Pentest Tools Nmap
- Pentest Tools Download
- Underground Hacker Sites
- Game Hacking
- Pentest Tools Port Scanner
- Hack Tools For Games
- Hacker Tools 2019
- New Hacker Tools
- Hacking Tools Usb
- Android Hack Tools Github
- Tools Used For Hacking
- Hacking Tools Name
- Hack Tools Download
- Pentest Tools List
- Android Hack Tools Github
- Pentest Tools Linux
- Best Hacking Tools 2020
- Usb Pentest Tools
- Bluetooth Hacking Tools Kali
- Hacking Tools For Windows
- Underground Hacker Sites
- Hacking Tools Windows 10
- Pentest Tools Url Fuzzer
- Hack Tools
- Hacker Tools Apk Download
- Hacks And Tools
- Hacking Tools Pc
- Hack And Tools
- Pentest Tools Kali Linux
- Hacker Techniques Tools And Incident Handling
- Hacking Tools For Windows Free Download
- Pentest Tools Framework
- Hacker Tools Linux
- Hacking Tools Software
- Pentest Tools Nmap
- Hacks And Tools
- Pentest Tools For Android
- Hacking App
- Hacker
- New Hack Tools
- New Hack Tools
- Hack Tools Mac
- Pentest Tools Download
- Tools 4 Hack
- Hacking Tools Software
- Hacking Tools Free Download
- Hacking Tools Software
- Hacking Tools 2019
- Hacking Tools And Software
- Hack Tool Apk No Root
- Pentest Tools Linux
- Pentest Tools Website Vulnerability
- Nsa Hack Tools Download
- Hacking Tools Online
- Hacking Tools Pc
- Best Hacking Tools 2019
- Best Hacking Tools 2019
- Hacking Tools Windows 10
- Hacking Tools Download
- Pentest Tools
- Hack Tools For Windows
- Hacking Tools Download
- What Are Hacking Tools
- Usb Pentest Tools
沒有留言:
發佈留言