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
- Hackrf Tools
- Hack Tools Github
- Hacking Tools Mac
- Hack Tools Mac
- What Are Hacking Tools
- Hacker Tools Apk Download
- Hack Tool Apk No Root
- Pentest Tools Free
- Hacking Tools For Mac
- What Is Hacking Tools
- Hacking Tools
- Tools For Hacker
- Hacker
- Hack App
- Physical Pentest Tools
- Bluetooth Hacking Tools Kali
- Hacker Tools
- Hackrf Tools
- Hacker Tools 2020
- Hacker Tools For Mac
- Hacking Tools Free Download
- Hack Website Online Tool
- Tools Used For Hacking
- Hacker Tools Windows
- Hacking Tools Windows
- Pentest Tools Android
- Hack App
- Pentest Tools Tcp Port Scanner
- Hacking Tools 2019
- Hacking Tools Github
- Wifi Hacker Tools For Windows
- Tools 4 Hack
- Hacking Tools Windows
- Wifi Hacker Tools For Windows
- Hack Tools Online
- Pentest Tools Free
- Hacker Tools Free Download
- Tools For Hacker
- Hacker Tools Free
- World No 1 Hacker Software
- Pentest Tools Website
- Hack Tools Online
- Easy Hack Tools
- Hacking Tools Hardware
- Hacking Tools And Software
- Hacker Tools Software
- Hack Tools Mac
- Wifi Hacker Tools For Windows
- Hacker Tool Kit
- Hacker Security Tools
- Pentest Tools For Ubuntu
- Pentest Tools Website Vulnerability
- Hacking Tools And Software
- Hacker Tools For Pc
- Hacking Tools Free Download
- New Hack Tools
- Pentest Box Tools Download
- Top Pentest Tools
- Pentest Tools Port Scanner
- Hacker Tools For Ios
- Hack Tools Pc
- Hacking Tools Windows
- Hack Rom Tools
- Hacker Hardware Tools
- Pentest Tools Tcp Port Scanner
- Hack Tools
- Underground Hacker Sites
- Bluetooth Hacking Tools Kali
- Hacking Tools Online
- How To Make Hacking Tools
- Pentest Tools Linux
- Hack Apps
- How To Make Hacking Tools
- Hackers Toolbox
- Hacking Tools For Windows 7
- Hack Tools Github
- Pentest Tools Kali Linux
- Hacker Tools 2019
- Pentest Box Tools Download
- Hacker Tools For Ios
- Hacking Tools For Kali Linux
- Hacker
- Tools Used For Hacking
- Pentest Tools For Windows
- Hacking Apps
- Hacking Tools For Mac
- Pentest Tools Bluekeep
- Pentest Tools Open Source
- Hacker Tools Apk Download
- Pentest Tools Port Scanner
- Pentest Tools Windows
- Hacker Tools Hardware
- Hacking Tools Mac
- Computer Hacker
- Pentest Tools Url Fuzzer
- Pentest Tools Website Vulnerability
- Game Hacking
- Hacking Tools Online
- Termux Hacking Tools 2019
- How To Install Pentest Tools In Ubuntu
- Hacker Security Tools
- Hacker Tools Online
- Hacking Tools 2020
- Hacking Tools Hardware
- Hacker Tools
- Pentest Tools Android
- Hack Tools For Windows
- Pentest Tools Alternative
- Hack Tools
- Hacking Tools For Mac
- Pentest Tools Free
- Beginner Hacker Tools
- Hack Tools Online
- Hacking Tools Software
- Pentest Box Tools Download
- Pentest Reporting Tools
- Pentest Tools
- Hack Tools 2019
- Hacker Tools Github
- Hack Tools For Windows
- Pentest Tools Port Scanner
- Hacker
- Hacker Tools Online
- Pentest Tools Android
- Tools For Hacker
- Pentest Tools Framework
- Hack Tools
- Beginner Hacker Tools
- Hacker Tools List
- Pentest Tools Apk
- Pentest Tools Apk
- Hacker Security Tools
- Hackers Toolbox
- Hacking Tools 2019
- Black Hat Hacker Tools
- Hacking Tools Online
- Hacker Tools 2019
- Pentest Tools Alternative
- Hacker Tools For Mac
- Hacking Tools And Software
- Underground Hacker Sites
- Pentest Tools List
Tidak ada komentar:
Posting Komentar