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 news
- Hacker Tools Free
- Pentest Tools For Ubuntu
- Best Hacking Tools 2019
- Hack Tools
- Best Hacking Tools 2019
- Pentest Automation Tools
- Nsa Hack Tools
- New Hack Tools
- Hacker Tools Mac
- Hacker Tools Github
- Hack Tools Github
- Hacking Tools For Windows
- Beginner Hacker Tools
- Hacks And Tools
- Pentest Tools Subdomain
- Bluetooth Hacking Tools Kali
- Hacker Tools Github
- Pentest Tools Apk
- How To Install Pentest Tools In Ubuntu
- Underground Hacker Sites
- Pentest Tools For Ubuntu
- Hacking Tools Software
- Hacking App
- Pentest Tools Port Scanner
- Hacking Tools 2020
- Hacker Hardware Tools
- Pentest Tools For Windows
- Hacking Tools Download
- Hacking Tools Mac
- World No 1 Hacker Software
- Hacker Tools
- Hacker Tools Mac
- Hacking Tools Free Download
- Hacker Security Tools
- Hacking App
- Pentest Reporting Tools
- Best Hacking Tools 2019
- Easy Hack Tools
- Hack Tools Pc
- Hack App
- Blackhat Hacker Tools
- Pentest Tools Website Vulnerability
- Hacker Tools Apk
- Hack And Tools
- Hacking Tools Online
- Install Pentest Tools Ubuntu
- Game Hacking
- Tools 4 Hack
- Pentest Tools Port Scanner
- Hacking Tools Name
- Pentest Automation Tools
- Best Hacking Tools 2020
- Hacker Tools For Windows
- Hacking Tools Mac
- Android Hack Tools Github
- Hacking Tools Name
- Pentest Tools Kali Linux
- Free Pentest Tools For Windows
- Easy Hack Tools
- Hacker Tools Mac
- Pentest Tools Port Scanner
- Hacks And Tools
- Hack Rom Tools
- Hacker Search Tools
- Hacking Tools Windows
- Pentest Tools Alternative
- Hacking App
- Pentest Tools Linux
- Hacker Tools Hardware
- Tools 4 Hack
- Pentest Tools Framework
- Hacking Tools Windows
- Hacking Tools
- Hack Tools Online
- Hack Tools For Windows
- Hacking Tools For Games
- Hak5 Tools
- Pentest Tools Subdomain
- Hacks And Tools
- Kik Hack Tools
- Hacking Tools Free Download
- Hacker Tools Free Download
- Hackers Toolbox
- Hacker Tools Free Download
- Hacking Tools For Windows
- What Is Hacking Tools
- Blackhat Hacker Tools
- Hack Apps
- Hack And Tools
- Hack App
- Hacker Tools Free Download
- Best Hacking Tools 2019
- Hack Tools Online
- Hack Tools For Games
- New Hacker Tools
- What Are Hacking Tools
- Hacking Tools For Kali Linux
- Hacker Tools Online
- Termux Hacking Tools 2019
- Best Pentesting Tools 2018
- Pentest Tools Website
- Hacker Tools List
- Hack Tools Mac
- Hak5 Tools
- What Is Hacking Tools
Geen opmerkings nie:
Plaas 'n opmerking