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
- Pentest Tools Subdomain
- Hacker Techniques Tools And Incident Handling
- Hacking Tools Software
- Pentest Tools Port Scanner
- Best Hacking Tools 2020
- Hacker Tools Apk Download
- Hacking Tools Online
- Hacker Tools Software
- How To Install Pentest Tools In Ubuntu
- Tools Used For Hacking
- Hacker Hardware Tools
- Hack And Tools
- Free Pentest Tools For Windows
- Pentest Tools Find Subdomains
- Pentest Tools List
- Hacking Tools For Beginners
- Pentest Tools Nmap
- Pentest Tools Kali Linux
- Hacking Tools 2020
- Pentest Tools Find Subdomains
- Pentest Tools List
- Pentest Recon Tools
- Hacking App
- Hack Tools Online
- Hack Website Online Tool
- Hacks And Tools
- Hacker Tools For Pc
- Hacker Hardware Tools
- Hacker Tools For Mac
- Hacker Tools Free
- Hack Tools 2019
- Hacking Tools And Software
- Pentest Tools Windows
- Hacking Tools Windows 10
- New Hack Tools
- Pentest Box Tools Download
- Pentest Tools Download
- Hack Tools For Ubuntu
- Pentest Tools Android
- Hacker Tools For Ios
- Hacking Tools Usb
- Hacking Tools Download
- Hack Tools For Ubuntu
- Pentest Tools For Ubuntu
- Hacking Tools Download
- Nsa Hacker Tools
- Hacker Tools Github
- Hacker Hardware Tools
- New Hacker Tools
- Hacking Tools 2020
- Hacking Tools Pc
- Beginner Hacker Tools
- Pentest Tools Linux
- Nsa Hacker Tools
- Free Pentest Tools For Windows
- Hacker Hardware Tools
- Wifi Hacker Tools For Windows
- Best Pentesting Tools 2018
- Hack And Tools
- Hacking Tools Kit
- Hack Tools For Pc
- Hacker Tools Free
- Hacking Apps
- How To Make Hacking Tools
- Usb Pentest Tools
- Hacking Tools Download
- Hacker Tools For Ios
- Hacker Tools
- Hacking Tools Online
- Bluetooth Hacking Tools Kali
- Hack Tools For Ubuntu
- Hacker Tools For Mac
- Best Hacking Tools 2019
- Pentest Tools
- Pentest Tools For Windows
- Hacker Tools Hardware
- Pentest Box Tools Download
- Best Pentesting Tools 2018
- Hacking Apps
- Pentest Tools For Ubuntu
- Top Pentest Tools
- Pentest Tools Website
- Hacker Tools Free Download
- Hacking Tools Kit
- Best Hacking Tools 2020
- Termux Hacking Tools 2019
- Hacker Tools
- Pentest Tools Url Fuzzer
- Hacker Tools List
- Hacking Tools Free Download
- Hacker Tools 2019
- Hackers Toolbox
- Pentest Tools Review
- Hacking Tools 2019
- Hack Tools Mac
- Hacker Tools For Windows
- Hacker Tools Apk
- Hack Tools For Games
- Pentest Tools Nmap
- Free Pentest Tools For Windows
- Hacking Tools For Windows 7
- Hackers Toolbox
- Tools 4 Hack
- Hack Apps
- Hacking Tools Windows 10
- Hack Tools Github
- Hacking Tools For Windows Free Download
- Hack Tools Github
- Black Hat Hacker Tools
- Hacking Tools Pc
- Nsa Hacker Tools
- Hacking Tools Online
- Hak5 Tools
- Pentest Tools Bluekeep
- Hacker Tools Free Download
- Nsa Hack Tools Download
- Hack Tools
- Hacking Tools Name
- Hacker Tools
- Beginner Hacker Tools
- Pentest Reporting Tools
- Hacker Tools Mac
- Hack Tools For Games
- Pentest Tools Download
- Hackrf Tools
- Pentest Tools Framework
- Termux Hacking Tools 2019
- Hacking Tools Pc
- Hacker Tools Apk
- Pentest Tools Linux
- Underground Hacker Sites
- Top Pentest Tools
- Pentest Tools Review
- Android Hack Tools Github
- Physical Pentest Tools
- Hack Rom Tools