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 posts
- Beginner Hacker Tools
- Hacker Tools Linux
- Pentest Tools List
- Hack Rom Tools
- Hacker Tools Online
- Pentest Tools
- Underground Hacker Sites
- Usb Pentest Tools
- Beginner Hacker Tools
- Pentest Tools Online
- Hacker Tools For Windows
- Nsa Hacker Tools
- Hacking Tools Windows 10
- New Hacker Tools
- Ethical Hacker Tools
- Nsa Hack Tools Download
- Hacking Tools For Windows 7
- Pentest Reporting Tools
- Hacker Tools For Mac
- Easy Hack Tools
- Hack Tool Apk
- Hack And Tools
- Pentest Tools For Windows
- Pentest Tools Review
- Hacking Tools For Mac
- Hacking Tools Free Download
- Hak5 Tools
- Pentest Tools Apk
- Tools Used For Hacking
- Pentest Tools Android
- Top Pentest Tools
- Pentest Tools Alternative
- Pentest Tools Online
- Pentest Tools Nmap
- Pentest Tools Find Subdomains
- Nsa Hack Tools Download
- Hack Tools Online
- Hacking Tools For Kali Linux
- Kik Hack Tools
- Hack And Tools
- Top Pentest Tools
- Tools 4 Hack
- Pentest Tools For Android
- Hack And Tools
- Hacking Tools For Mac
- Pentest Tools Url Fuzzer
- Pentest Tools Android
- Hacker Tools Free
- Android Hack Tools Github
- Hack Tools Mac
- Hacker Tools Software
- Nsa Hacker Tools
- How To Hack
- Hacking Tools Pc
- Growth Hacker Tools
- Nsa Hacker Tools
- Tools Used For Hacking
- Computer Hacker
- Hacking Tools 2019
- Android Hack Tools Github
- Hack And Tools
- Hacker Tools
- Hacking Apps
- Hak5 Tools
- Best Hacking Tools 2020
- Growth Hacker Tools
- Computer Hacker
- Hacking Tools For Kali Linux
- Game Hacking
- Pentest Tools Free
- Pentest Tools Alternative
- Pentest Tools For Ubuntu
- Hack Tool Apk
- Hacker Tools List
- Hacker Search Tools
- Pentest Tools For Android
- Hacker Tools For Ios
- Hack Tools Online
- Tools Used For Hacking
- Hacking Tools For Windows 7
- Pentest Tools Apk
- Pentest Tools Android
- Pentest Tools Url Fuzzer
- Pentest Tools Download
- Hacking Tools For Beginners
- Pentest Tools Open Source
- New Hack Tools
- Hack Tools Online
- Hacking Tools For Pc
- Hack Rom Tools
- Hacking Tools Hardware
- Pentest Tools Free
- Hacks And Tools
- Hacker Tools 2019
- Hack Tools For Mac
- What Are Hacking Tools
- Black Hat Hacker Tools
- Hacking Tools Windows 10
- Pentest Tools For Ubuntu
- Hacker Tools Linux
- Hacker Tools Github
- Hacker Tools Mac
- Pentest Tools Website Vulnerability
- Pentest Tools Open Source
- Pentest Tools Free
- Pentest Tools Android
- Hak5 Tools
- Easy Hack Tools
- What Are Hacking Tools
- Pentest Tools Android
- Hack Tools For Windows
- Hacker Tools Software
- Growth Hacker Tools
- Hack Apps
- Pentest Tools Apk
- Hacker
- Hacker Techniques Tools And Incident Handling
- Pentest Tools Windows
- Hack App
- Hacker Tools Apk
- Hacker Tools Linux
- Hack Tool Apk No Root
- Pentest Tools For Mac
- Pentest Tools Find Subdomains
- Hacking Tools Github
- Pentest Tools Website Vulnerability
- Pentest Recon Tools
- Pentest Reporting Tools
- Hacker Search Tools
- Pentest Tools For Mac
- Game Hacking
- Hack Tools Github
- Pentest Tools Website Vulnerability
- Pentest Tools For Ubuntu
- Hacker Tools Mac
- Hack Tools
- Hack Tools 2019
- Pentest Tools Website Vulnerability
- Pentest Tools
- Hacking Tools Online
- Easy Hack Tools
- Free Pentest Tools For Windows
- Hacking Tools For Games
- Hacking Tools Hardware
- Hacking App
- Hack Tools For Games
- Pentest Tools Find Subdomains
- Hacking Tools Name
- Hacking Tools 2020
- Hack Tools
- What Are Hacking Tools
- Hacking Tools Software
- Hacker Tools Github
- Hacker Tools For Windows
- Hacking Tools Usb
- Physical Pentest Tools
- Pentest Tools For Mac
- Hacking Tools For Windows Free Download
- Hacking Tools Online
- Hacker Tools Software
- Hacking Tools Pc
- Bluetooth Hacking Tools Kali
- Pentest Tools Apk
- Hack App
- Pentest Tools Kali Linux
- Hacking Tools Software
- Pentest Tools Port Scanner
- Hack Tools Pc
0 Reactions to this post
Add CommentPost a Comment