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.
Continue reading
- Free Pentest Tools For Windows
- Game Hacking
- Hacking Tools Github
- Hacker Tools
- Pentest Tools Port Scanner
- Hacking App
- Hacking Tools
- Pentest Tools Online
- Hack Tools 2019
- Hack Tools For Pc
- Pentest Tools Android
- Hacker Tools 2020
- Best Hacking Tools 2019
- Hacking Tools For Mac
- Hack Tools For Games
- Hacking Tools Kit
- Hacking Tools For Windows 7
- What Is Hacking Tools
- Nsa Hack Tools Download
- What Are Hacking Tools
- Hacking Tools Hardware
- New Hacker Tools
- Pentest Tools Review
- Hack Apps
- Hacking Tools For Beginners
- Hacker Tools Free Download
- Hack App
- Hack Tools Mac
- Hacking Tools For Windows 7
- Hacking Tools Download
- Hack Tools For Ubuntu
- Pentest Tools Bluekeep
- Tools Used For Hacking
- Pentest Tools Windows
- Hacker Tools For Ios
- Hack Apps
- How To Make Hacking Tools
- Hacking Tools For Beginners
- Best Hacking Tools 2019
- Beginner Hacker Tools
- Hacker Tools For Windows
- Hackers Toolbox
- Hacker Tools For Windows
- Hack Tools Online
- Hacking Tools Github
- Hacking Tools
- Install Pentest Tools Ubuntu
- Hack Apps
- Hack Tools
- Nsa Hack Tools
- Hacker Security Tools
- Best Hacking Tools 2019
- Hacking Tools For Mac
- World No 1 Hacker Software
- Pentest Tools Online
- Hacker Tools Free Download
- Hack Tools For Windows
- Hacking Tools Usb
- Hack Tools For Ubuntu
- Hacker Tools Software
- Ethical Hacker Tools
- Hacker Tools Windows
- Hacker Tools For Pc
- Hacking Tools For Kali Linux
- Free Pentest Tools For Windows
- Pentest Tools Website Vulnerability
- Hacker Techniques Tools And Incident Handling
- Hacking Tools
- Hacking Tools Name
- Pentest Tools Tcp Port Scanner
- Pentest Tools Alternative
- Hacking Tools Free Download
- Hack Tool Apk No Root
- Tools Used For Hacking
- Tools For Hacker
- Hack And Tools
- Hack Tools For Windows
- Hacking Tools Github
- Hacker Tools Free
- Tools For Hacker
- Pentest Tools Alternative
- Hacking Tools For Kali Linux
- Hack Tools For Windows
- Pentest Tools Open Source
- Hacking Tools For Pc
- Hacker Techniques Tools And Incident Handling
- Pentest Tools Online
- Tools For Hacker
- Hack Tools
- Hack Website Online Tool
- Tools Used For Hacking
- What Is Hacking Tools
- Nsa Hack Tools
- Hackrf Tools
- Hack Tool Apk
- Growth Hacker Tools
- Pentest Tools Website
- Hacking Tools Name
- Hacks And Tools
- Pentest Tools Android
- Pentest Tools Github
- Pentest Tools Github
- Hacking Tools And Software
- Pentest Tools Find Subdomains
- Hacker Tools Apk
- Hacker Tools For Pc
- Pentest Tools Android
- Blackhat Hacker Tools
- Hacker Tools Apk
- Hack Tools Github
- Hacker Tool Kit
- How To Hack
- Hack Rom Tools
- Growth Hacker Tools
- Pentest Tools Framework
- Hacking Tools 2019
- Hackers Toolbox
- Nsa Hacker Tools
- Hacking Tools For Pc
- Hack Tools Mac
- Hacker Tools Free
- Hacker Tools 2019
- Hacking Tools For Windows
- Hacking Tools Online
- Hack Tools
- Hacking Tools Software
- Pentest Tools Open Source
- Top Pentest Tools
- Pentest Tools Open Source
- Tools Used For Hacking
- Nsa Hack Tools Download
- Beginner Hacker Tools
- Wifi Hacker Tools For Windows
- Pentest Tools Nmap
- Pentest Tools Find Subdomains
- Pentest Tools Apk
- Hack App
- Pentest Tools Open Source