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 articles
- Hacker Tool Kit
- Tools For Hacker
- Hacker Tool Kit
- Hacker Tools Github
- Hacker Tools Free Download
- Hacking Tools Download
- Top Pentest Tools
- Hacker Tools Github
- Hacking Tools For Beginners
- Free Pentest Tools For Windows
- Tools Used For Hacking
- Pentest Tools Review
- Pentest Tools Website
- Pentest Tools
- Install Pentest Tools Ubuntu
- Tools 4 Hack
- Hacking Tools Software
- Termux Hacking Tools 2019
- Tools Used For Hacking
- Hackrf Tools
- Blackhat Hacker Tools
- Hacking Tools Usb
- Pentest Tools Alternative
- Pentest Tools Online
- Hack Tools For Windows
- Tools 4 Hack
- New Hacker Tools
- How To Hack
- Hacking Tools Github
- Hacking Tools Kit
- Hacker Tools For Ios
- Hacking Apps
- Hacker Security Tools
- Hacking App
- Hack Tools For Pc
- Hack Tools Mac
- Nsa Hack Tools
- Pentest Tools Bluekeep
- What Is Hacking Tools
- Pentest Box Tools Download
- Hacker Tools For Windows
- Ethical Hacker Tools
- Hacking Tools Github
- What Is Hacking Tools
- Hacking Tools Free Download
- Hacking Tools Usb
- Wifi Hacker Tools For Windows
- Hacking Tools Kit
- Hacker Tools Github
- Pentest Tools
- Hackers Toolbox
- Underground Hacker Sites
- Pentest Tools Windows
- Best Hacking Tools 2020
- What Are Hacking Tools
- Hacker Tools Hardware
- Hacker Tools For Windows
- Hacker Tools Linux
- Hacking Tools Pc
- Hacking Tools Mac
- Hacking Tools For Pc
- Hacking Tools Pc
- Pentest Tools Tcp Port Scanner
- Hacking Tools Hardware
- Pentest Automation Tools
- Pentest Tools Alternative
- Hacking Tools Hardware
- Pentest Tools
- Pentest Tools Website Vulnerability
- Bluetooth Hacking Tools Kali
- Hacking Tools 2019
- Hack Tools For Windows
- Computer Hacker
- Install Pentest Tools Ubuntu
- Physical Pentest Tools
- Hack Tools For Windows
- Pentest Tools Github
- New Hack Tools
- Bluetooth Hacking Tools Kali
- Hacking Tools For Pc
- Pentest Tools Free
- Blackhat Hacker Tools
- Pentest Tools For Ubuntu
- Hacker Tools Free Download
- Nsa Hack Tools
- Usb Pentest Tools
- Hacking Tools Usb
- Pentest Tools For Android
- Blackhat Hacker Tools
- Hacking Tools Free Download
- Hacking Tools For Pc
- Tools Used For Hacking
- Hack Tools
- Hacking Tools Hardware
- Hacking Tools For Mac
- Hack Tools Pc
- Hack App
- Pentest Automation Tools
- Hacking Tools Online
- Bluetooth Hacking Tools Kali
- Hacker Tools Free Download
- Hacking Tools Online
- Hacking Tools For Windows 7
- Hacker Tools Mac
- Hacker Tools Free Download
- Hackers Toolbox
- Pentest Tools
- Hack Website Online Tool
- Pentest Tools List
- Hacking Tools Download
- Best Hacking Tools 2019
- Hack Website Online Tool
- Hacker Hardware Tools
- Hacker Tools
- Pentest Tools Framework
- Blackhat Hacker Tools
- Pentest Tools Website Vulnerability
- Hack Tools For Mac
- Hacking Tools For Pc
- Hacker Hardware Tools
- Tools For Hacker
- Computer Hacker
- Hack Tools For Mac
- Nsa Hacker Tools
- Hacker Tools Apk Download
- Hacking Tools Windows 10
- Hacking Tools Mac
- Hacking Tools Mac
- Pentest Automation Tools
- Pentest Tools For Windows
- Hack Website Online Tool
- Pentest Tools Website
- Nsa Hacker Tools
- Hack Tools Pc
- Tools Used For Hacking
- Termux Hacking Tools 2019
- Hack Apps
- Free Pentest Tools For Windows
- Hacking Tools Usb
- Beginner Hacker Tools
- Pentest Tools For Android
- Pentest Tools Linux
- Hack Tools For Windows
- Hack Tools Mac
- Hack Tools Download
- Hacking Apps
No comments:
Post a Comment