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
- Hacking Tools For Beginners
- Hackrf Tools
- Pentest Tools Free
- How To Make Hacking Tools
- Github Hacking Tools
- Underground Hacker Sites
- Blackhat Hacker Tools
- Pentest Tools Website Vulnerability
- Game Hacking
- Android Hack Tools Github
- Pentest Tools For Windows
- Best Hacking Tools 2019
- New Hack Tools
- Hacker Tools For Mac
- Pentest Tools Online
- Pentest Tools Open Source
- Hacker Techniques Tools And Incident Handling
- Hack Tools For Games
- Hacker Tool Kit
- Hacker Tools 2019
- Hacker Techniques Tools And Incident Handling
- Pentest Tools List
- Hacker Tools For Ios
- Nsa Hacker Tools
- Hacker Tools
- Pentest Tools Find Subdomains
- Pentest Tools Android
- Hack Tools Online
- Hacker Tools Software
- Hacker Hardware Tools
- How To Install Pentest Tools In Ubuntu
- Hacking Tools For Pc
- Pentest Tools Url Fuzzer
- What Is Hacking Tools
- Hacking Tools Name
- Best Hacking Tools 2019
- Hacker Tools Apk
- Pentest Tools Nmap
- Hack Tool Apk
- Hack Tools
- How To Hack
- Beginner Hacker Tools
- Hacking Tools For Pc
- Hacking Tools Windows 10
- Hacking Tools Hardware
- Pentest Automation Tools
- Hacker Tools Mac
- Hacking Tools And Software
- Hack Tools Download
- Best Hacking Tools 2019
- Hacking Tools And Software
- Hacker Tools List
- Pentest Tools Website Vulnerability
- Hacking Tools Free Download
- Hacking Apps
- Pentest Tools For Ubuntu
- Nsa Hack Tools Download
- Best Hacking Tools 2019
- Underground Hacker Sites
- Android Hack Tools Github
- Hacking Tools Github
- Pentest Tools Alternative
- Hacking Tools For Windows 7
- Bluetooth Hacking Tools Kali
- Hacking Tools And Software
- Hacking Tools Windows 10
- Hacker Tools Mac
- Hack Tools
- Hack Tool Apk
- Hack Apps
- Hacker Tools Hardware
- Hack App
- Hacker Tools Free Download
- Tools Used For Hacking
- Hacker Tools Hardware
- Best Hacking Tools 2019
- Hack App
- Usb Pentest Tools
- Hacker Tools Hardware
- Blackhat Hacker Tools
- Hacker Tools Free Download
- Kik Hack Tools
- Hacking Tools Pc
- Hacking Tools Hardware
- Pentest Tools Framework
- Hacking Tools Software
- What Are Hacking Tools
- Hacking Tools Windows 10
- World No 1 Hacker Software
- Best Pentesting Tools 2018
- Hacking Tools Windows 10
- Hacker Tools Free Download
- Hacker Tools Windows
- Hacking Tools For Windows 7
- Hacker Tools Online
- Hack Tools For Mac
- Hacking Tools Usb
- World No 1 Hacker Software
- Pentest Tools Subdomain
- Tools Used For Hacking
- Pentest Tools Subdomain
- Hack Tools For Mac
- Hacking Tools And Software
- Hacks And Tools
- Best Hacking Tools 2019
- Hacking Tools Pc
- Pentest Box Tools Download
- Hacker Tools Apk
- Free Pentest Tools For Windows
- Hacker Hardware Tools
- Hacker Tools Hardware
- Hack Tools Download
- Hacker Tools Free
- Hack And Tools
- Hacker Tools For Ios
- Pentest Tools Android
- Pentest Tools For Android
- Android Hack Tools Github
- Beginner Hacker Tools
- Hacker Tools For Ios
- Hacking Tools 2019
- Hacker Tools For Ios
- Top Pentest Tools
- Pentest Tools Open Source
- Hacking Tools For Mac
- Kik Hack Tools
- Hack Tools
- Hacking Tools Free Download
- Pentest Tools Free
- Hack App
- Black Hat Hacker Tools
- Pentest Recon Tools
- Pentest Tools Port Scanner
- Hacker Security Tools
- Hacker Tools For Ios
- Pentest Tools Windows
- Hack Tools Github
- Hacking Tools For Windows 7
- Hacker Techniques Tools And Incident Handling
- Pentest Tools Bluekeep
- Hacker Tools List
- Pentest Tools Linux
- Hacker Tools Windows
- Hacking Tools Kit
- Hack Rom Tools
- Kik Hack Tools
- Hacker Tools For Ios
- Pentest Tools Online
- Pentest Tools Open Source
- Hack Tools Github
Nenhum comentário:
Postar um comentário