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
- Pentest Tools Windows
- Hacking Tools Download
- Hacker
- What Are Hacking Tools
- Hacking Tools For Windows 7
- Hack Tools Pc
- Pentest Tools Port Scanner
- New Hacker Tools
- Pentest Tools Subdomain
- Pentest Tools Subdomain
- Hack Tools 2019
- Hackrf Tools
- Ethical Hacker Tools
- Bluetooth Hacking Tools Kali
- Pentest Tools Github
- Hack Tools
- Install Pentest Tools Ubuntu
- Hacking Tools Kit
- Hack Tools Pc
- Hacking Tools Usb
- Hack Tools Github
- Hacking Tools Hardware
- Pentest Tools For Ubuntu
- How To Install Pentest Tools In Ubuntu
- New Hack Tools
- Hacking App
- Hacking Tools For Windows 7
- Hacker Tools 2020
- Hacking Tools Github
- Hacker Tools Mac
- Termux Hacking Tools 2019
- Bluetooth Hacking Tools Kali
- Pentest Tools Linux
- Hacking Tools 2020
- Tools For Hacker
- Pentest Tools Free
- Pentest Tools Online
- Hacker Tools
- Hacking Tools Mac
- Beginner Hacker Tools
- How To Make Hacking Tools
- Hacking Apps
- Pentest Tools For Ubuntu
- Hacking Tools For Games
- Tools Used For Hacking
- Hackrf Tools
- Pentest Tools List
- Hacker Tools
- Hacking Tools 2019
- Hack Tools Download
- Hackers Toolbox
- Hack Tool Apk
- Hacking Tools Pc
- Hacking Tools And Software
- Hacker
- Hacker Tools 2019
- Hacking Tools 2019
- Hackers Toolbox
- How To Make Hacking Tools
- Hacking Tools Name
- Install Pentest Tools Ubuntu
- Hacks And Tools
- Hacking Tools Name
- Hacker Tools Online
- Hacking Tools 2019
- Hack Tool Apk No Root
- Hacker Tools 2019
- Hacking Tools For Kali Linux
- Hack Tools
- Beginner Hacker Tools
- Hacking Tools For Windows Free Download
- How To Make Hacking Tools
- Tools Used For Hacking
- Hacking Tools And Software
- Hacking Tools Hardware
- Hack Rom Tools
- Hackrf Tools
- Pentest Recon Tools
- Termux Hacking Tools 2019
- Tools 4 Hack
- Pentest Tools For Windows
- Install Pentest Tools Ubuntu
- Hacker Tools List
- Hacker Tools Online
- Pentest Tools Kali Linux
- Tools For Hacker
- Hack Tools Github
- Hacker Security Tools
- Best Pentesting Tools 2018
- Easy Hack Tools
- Hack Rom Tools
- What Are Hacking Tools
- Game Hacking
- Hacker Tools For Windows
- Tools For Hacker
- Hacking Tools Online
- Hacker Tools For Mac
- How To Install Pentest Tools In Ubuntu
- Hack Tool Apk No Root
- Pentest Tools Tcp Port Scanner
- Wifi Hacker Tools For Windows
- Hack Website Online Tool
- Pentest Tools For Ubuntu
- World No 1 Hacker Software
- Hacker Tools For Mac
- Hacker Tools Free
- Pentest Tools Apk
- Game Hacking
- Pentest Tools Url Fuzzer
- Hacker Search Tools
- Hacking Tools For Kali Linux
- Pentest Tools Port Scanner
- Hacking Tools For Games
- Pentest Tools Bluekeep
- Hack Tools Online
- Game Hacking
- Hacking Tools For Windows
- Hacking Tools For Games
- Hacker Tools Free
- Pentest Tools Alternative
- Hack Tools Download
- Underground Hacker Sites
- What Are Hacking Tools
- Hacking Tools Software
- Hacker Tools 2020
- How To Make Hacking Tools
- Hacking Tools Online

No comments:
Post a Comment