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 word
- Hacker Tools Mac
- Pentest Tools Review
- Hacker Tools Software
- Nsa Hack Tools Download
- Hacking Tools For Pc
- Pentest Tools Windows
- Install Pentest Tools Ubuntu
- Game Hacking
- Usb Pentest Tools
- Pentest Tools
- Hacks And Tools
- Pentest Tools Kali Linux
- Hacker Tools Online
- Hacking Tools Hardware
- Pentest Tools Free
- Physical Pentest Tools
- Pentest Tools Download
- Hacking Tools Name
- Hack Tools Pc
- Game Hacking
- Pentest Tools Online
- Bluetooth Hacking Tools Kali
- Hack Tools For Games
- Pentest Tools Website Vulnerability
- Pentest Tools Tcp Port Scanner
- Hacker
- Hak5 Tools
- Pentest Tools Url Fuzzer
- Black Hat Hacker Tools
- Hacking Tools Hardware
- Pentest Tools Url Fuzzer
- Hacker Tools Online
- Hack And Tools
- Hacker Tools Hardware
- Hacker Tools Apk Download
- Hacker Tools Apk Download
- Hack Tool Apk No Root
- Pentest Tools Download
- Hacker Tools Windows
- Pentest Tools Framework
- Hacking Tools For Mac
- Hacking Tools Usb
- Pentest Tools List
- Hacking Tools And Software
- Hacker Techniques Tools And Incident Handling
- Hack Tool Apk No Root
- Hacker Tools Mac
- Hacking Tools Software
- Hacking Tools
- Hack Tools For Pc
- Best Pentesting Tools 2018
- Beginner Hacker Tools
- Beginner Hacker Tools
- Pentest Tools For Ubuntu
- Pentest Reporting Tools
- Hacker Tools For Ios
- Hacking Tools Online
- Hacker Tools Mac
- Hacker Tools Windows
- Hack Apps
- Hacking Tools For Windows
- Pentest Tools Alternative
- Hacking Tools For Pc
- Pentest Tools Subdomain
- Hack Tools
- Hacker Search Tools
- Hacker Tools Free Download
- Hack Tools Pc
- Hacking Tools Pc
- How To Hack
- Hack Tools For Mac
- Hacking Tools For Windows 7
- Pentest Tools Subdomain
- Top Pentest Tools
- Hack Tools For Ubuntu
- Hackrf Tools
- Hacker Tools List
- Hack Tool Apk
- Hackrf Tools
- Best Hacking Tools 2020
- Hack Tools
- Hack Tools For Windows
- Pentest Tools Android
- Hacking Tools Software
- Hacking Tools Pc
- How To Hack
- Hack Tool Apk
- Tools For Hacker
- Pentest Tools Website Vulnerability
- Pentest Reporting Tools
- Hacker Tools Windows
- Hack Tools 2019
- Hacking Tools For Mac
- Hacker Tools
- Pentest Tools For Windows
- Hacker Hardware Tools
- Pentest Tools
- Pentest Tools Github
- Pentest Tools For Windows
- Blackhat Hacker Tools
- Hacking Tools And Software
- Hacker Tools Free
- Best Pentesting Tools 2018
- Hacking Tools For Windows 7
- Pentest Tools Url Fuzzer
- Pentest Tools Apk
- Hacking Tools Software
- Hackers Toolbox
- Hacker Tools
- Hack Apps
- Hack Tools
- New Hack Tools
- Hacker Tools For Mac
- Pentest Tools List
- Hacking Tools Name
- Hacker
- Hacking Tools For Windows 7
- Hack Tools Github
- Pentest Tools Open Source
- Hackers Toolbox
- Blackhat Hacker Tools
- Hackrf Tools
- Hacking Apps
- Hack Tools For Windows
- Pentest Tools Open Source
- Hacking Tools Windows 10
- Pentest Reporting Tools
- Hacker Tools Windows
- Pentest Tools Review
- How To Install Pentest Tools In Ubuntu
- Hacking App
- Hacking Tools 2019
- Pentest Tools Subdomain
- Hacker Tools Windows
- Pentest Tools Alternative
- Hack Tools For Ubuntu
- Hacking Tools Free Download
- Install Pentest Tools Ubuntu
- Hacker Tools Free
- Hacker Tools For Ios
- Pentest Reporting Tools
No comments:
Post a Comment