How To Connect Database With PHP | Cool Interface Software | Tutorial 2
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.
More info
- Beginner Hacker Tools
- Hack Tools Download
- Hack Tools For Ubuntu
- Hack Tools Pc
- Wifi Hacker Tools For Windows
- Best Hacking Tools 2019
- Pentest Tools Framework
- Hack Tool Apk No Root
- Pentest Tools Windows
- Hacker Search Tools
- Hacking Tools Usb
- Blackhat Hacker Tools
- Pentest Tools For Mac
- Hacking Tools For Windows Free Download
- Hacking Tools Software
- Hacker Tools Windows
- Pentest Tools Windows
- Pentest Tools Subdomain
- Hacking Tools Online
- Hack Tools Github
- Underground Hacker Sites
- How To Make Hacking Tools
- Hacking Tools For Mac
- Pentest Tools Free
- Hacker Security Tools
- Pentest Tools Website
- Beginner Hacker Tools
- Hacker Tools For Ios
- Pentest Tools Kali Linux
- Hacker Tools Free Download
- Pentest Tools Website Vulnerability
- Hacker Security Tools
- Pentest Automation Tools
- Hacking Tools Online
- Easy Hack Tools
- Hacker Tools For Pc
- Hacker Tools For Pc
- Hack Tools For Pc
- Pentest Tools Github
- Hacker Tools Hardware
- Hacking Tools For Kali Linux
- Hacking Tools Pc
- Hack Tools For Windows
- Underground Hacker Sites
- Usb Pentest Tools
- Pentest Tools List
- Pentest Tools For Windows
- Pentest Tools Framework
- Hacking Tools 2020
- Best Hacking Tools 2019
- Pentest Tools Kali Linux
- Hacker Tools Online
- Hacking Tools Github
- Hacker Tools 2020
- Hack Tool Apk
- Hacking Tools Windows
- Pentest Tools Nmap
- Hacker Tools Free
- Hacking Tools Mac
- Hacking Tools Mac
- Pentest Automation Tools
- Ethical Hacker Tools
- Pentest Tools Tcp Port Scanner
- Install Pentest Tools Ubuntu
- Pentest Box Tools Download
- Hacker Tools Github
- Hacker Tools Mac
- Hacking Tools Kit
- Pentest Automation Tools
- Hacker Tools Windows
- Pentest Tools
- Hacker Tools Online
- Hacking Tools For Windows Free Download
- Hacking Tools Windows
- Pentest Tools Find Subdomains
- Hack Tools For Windows
- Hacking Tools For Pc
- Pentest Tools Website Vulnerability
- Best Pentesting Tools 2018
- Computer Hacker
- Hacker Tools Apk
- Hack And Tools
- Best Hacking Tools 2019
- Nsa Hack Tools
- Hack Tools Mac
- Hacker Tools For Ios
- Hacker Hardware Tools
- How To Hack
- Hacking Tools Github
- Hacking Tools 2020
- Bluetooth Hacking Tools Kali
- Pentest Reporting Tools
- Hacker Security Tools
- Hack Tools Online
- Hacking Tools 2020
- How To Install Pentest Tools In Ubuntu
- Hacker Search Tools
- Hacker Tools Free
- Pentest Tools Download
- Hack Tools For Ubuntu
- Hack Tools For Pc
- Hacker Tools For Windows
- Hack Tools For Ubuntu
- Hacker Tools 2020
- Hacking Tools For Windows Free Download
- Physical Pentest Tools
- Hacking App
- Hacking Tools Hardware
- Hacker Tools Online
- Pentest Tools Windows
- Hacker Techniques Tools And Incident Handling
- Hacking Tools Hardware
- Hacking Tools Pc
- Best Pentesting Tools 2018
- Hacker
- Hack And Tools
- Hack Tools For Windows
- Hacking Tools Download
- Growth Hacker Tools
- Pentest Tools Download
- Hack Tool Apk
- Computer Hacker
- Hack Tools Mac
- Hacker Tools Apk Download
- Hacking Tools For Beginners
- Hacker Techniques Tools And Incident Handling
- Pentest Tools For Android
- Pentest Tools Android
- Hacking Tools Kit
- Hacking Tools Name
- Termux Hacking Tools 2019
- Underground Hacker Sites
- Computer Hacker
- Pentest Tools Open Source
- Hacker Tools Free
- Pentest Tools For Ubuntu
- Install Pentest Tools Ubuntu
- Hacking Apps
- Hacking Tools Online
- Best Pentesting Tools 2018
- Pentest Tools Download
- Easy Hack Tools
- Wifi Hacker Tools For Windows
- Hacking Tools Kit
- Pentest Tools List
- What Is Hacking Tools
- Best Hacking Tools 2020
- Hack Tools Github
- Hacking Tools Name
- Pentest Tools Bluekeep
- Hacking Tools Windows 10
- Hack Tools 2019
- Hacker Tools For Ios
- Hack Tools Online
- Hack Tools For Ubuntu
- Best Hacking Tools 2020
- Hacker Tools Github
- Pentest Box Tools Download
- Hacker Tools Windows
- Pentest Tools Open Source
- Pentest Tools Tcp Port Scanner
- Hacking Tools For Mac
- Pentest Tools Url Fuzzer
No comments:
Post a Comment