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 articles
- Pentest Tools List
- Pentest Tools For Android
- Black Hat Hacker Tools
- Pentest Tools Url Fuzzer
- Pentest Tools Bluekeep
- Hack Tools For Mac
- Pentest Recon Tools
- Hacker Tools For Ios
- Hackrf Tools
- Top Pentest Tools
- Pentest Tools Framework
- Hacker Tools Windows
- Pentest Tools Find Subdomains
- Best Hacking Tools 2019
- Pentest Tools For Windows
- Best Pentesting Tools 2018
- Pentest Recon Tools
- Best Pentesting Tools 2018
- How To Hack
- Github Hacking Tools
- Nsa Hacker Tools
- Ethical Hacker Tools
- Hacking Tools And Software
- Pentest Tools For Mac
- Hacking Tools For Kali Linux
- Hack And Tools
- Hacker Tools Free
- Hacker Techniques Tools And Incident Handling
- Hacking App
- Pentest Tools Website
- Pentest Tools Github
- Hackrf Tools
- Hack Tools Mac
- Hacker Tools Linux
- New Hacker Tools
- Pentest Automation Tools
- Growth Hacker Tools
- Hak5 Tools
- Hack Tools For Windows
- Hacker Tools Free Download
- World No 1 Hacker Software
- Hacks And Tools
- Hacker Tools List
- Nsa Hack Tools
- Hacking Tools For Windows 7
- Kik Hack Tools
- Hack Tools Mac
- Hacking Tools 2020
- Hacking Tools Name
- Hack Tools For Games
- Hacking Tools For Games
- Hack Tools Pc
- Android Hack Tools Github
- Hacking Tools Free Download
- Hacking Tools For Pc
- Hacking Tools For Windows Free Download
- Nsa Hack Tools
- Hack Tools For Mac
- Best Hacking Tools 2019
- Hacking Tools Online
- Best Hacking Tools 2020
- Hacker Tools Github
- Hacking Tools Github
- Best Pentesting Tools 2018
- Hacking Tools Usb
- Hack Rom Tools
- Hacker Tools Github
- Hacker Search Tools
- Hacking Tools For Windows Free Download
- Pentest Tools Windows
- Hacking Tools Pc
- Hacks And Tools
- Pentest Tools Linux
- Hack Tools Pc
- Pentest Tools Tcp Port Scanner
- Pentest Tools Find Subdomains
- What Are Hacking Tools
- Hack And Tools
- Hack Apps
- Pentest Tools List
- Termux Hacking Tools 2019
- Hack Tools For Windows
- What Is Hacking Tools
- Best Hacking Tools 2019
- Growth Hacker Tools
- Hack Tools Download
- Hacker Tools Github
- Growth Hacker Tools
- Pentest Tools Alternative
- Hack And Tools
- Kik Hack Tools
- Hacking Tools Hardware
- Pentest Tools For Windows
- Pentest Tools For Mac
- World No 1 Hacker Software
- World No 1 Hacker Software
- Pentest Tools Framework
- Hacking Tools Pc
- Hack Tools Mac
- Hacker Tools For Mac
- Hack App
- Hackers Toolbox
- Hack Tools Download
- Kik Hack Tools
- Hacker Techniques Tools And Incident Handling
- Hacker Tools Mac
- Pentest Recon Tools
- Pentest Tools Tcp Port Scanner
- Hacker Hardware Tools
- Beginner Hacker Tools
- Pentest Tools Review
- Hacking Tools For Windows
- Hacking Tools Windows 10
- Pentest Tools Subdomain
- Hack Tools
- Pentest Tools Url Fuzzer
- Hack Tools For Ubuntu
- Hacker Tools Apk Download
- Hack Tools For Ubuntu
- Pentest Tools Github
- Hacking Tools Software
Nenhum comentário:
Postar um comentário