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 links
- Hacker Tools For Pc
- Free Pentest Tools For Windows
- How To Hack
- Pentest Tools Tcp Port Scanner
- Hacker Tools
- Pentest Tools Linux
- Hacking Tools
- Github Hacking Tools
- Pentest Tools Tcp Port Scanner
- Hack Tool Apk No Root
- Install Pentest Tools Ubuntu
- Pentest Reporting Tools
- Hack Tools Pc
- Hack Tools For Games
- Hacker Tools For Ios
- Beginner Hacker Tools
- Hack Tools For Ubuntu
- Hacker Tools Windows
- Hacker Tools 2020
- Hacker Tools Software
- Best Pentesting Tools 2018
- Pentest Tools Alternative
- Hacker Tools
- Hacking Tools Online
- Tools For Hacker
- Game Hacking
- Hacking Tools Hardware
- Pentest Tools Framework
- Hack Rom Tools
- Hacker Tools Apk
- Hack Tools Online
- Hacker Tools Hardware
- Hack Website Online Tool
- Pentest Tools For Mac
- Pentest Tools
- Hacking Tools For Windows
- Hack Tools For Pc
- Hacker Tools For Ios
- Pentest Tools Website Vulnerability
- Hacking Tools Pc
- Github Hacking Tools
- Usb Pentest Tools
- Hacks And Tools
- Hacking Tools For Windows
- Pentest Tools List
- Hack And Tools
- Pentest Tools Website Vulnerability
- Hack Apps
- Hacker Tools For Windows
- Hacker Tools Windows
- New Hacker Tools
- Hacking Apps
- Hacking Tools Windows 10
- Best Hacking Tools 2020
- Top Pentest Tools
- Hacker Tools List
- Hack Tools Pc
- Hacking Tools Pc
- Hacker Tools Hardware
- Hacker Tools List
- Hack Tools Pc
- Tools 4 Hack
- Hack Tools For Windows
- Hack Tools For Mac
- Hacking Tools Github
- Hacker Tools 2020
- Hacking Tools Windows 10
- Hack Tools For Windows
- Hacking Tools For Pc
- Hack Rom Tools
- Blackhat Hacker Tools
- Pentest Automation Tools
- Hacker Hardware Tools
- Hacking Tools Pc
- Hack Tools Mac
- Hacker Tools For Windows
- Hacker Tools Software
- Pentest Tools For Windows
- Nsa Hack Tools
- Hacks And Tools
- Hacking Tools Kit
- Pentest Tools Subdomain
- How To Make Hacking Tools
- Pentest Tools Framework
- Hack Tools Pc
- Pentest Tools Find Subdomains
- Hacking Tools For Windows 7
- Hack Tools For Ubuntu
- Best Hacking Tools 2020
- Hack Tools Github
- Hack Tools Download
- Pentest Tools Windows
- Hacking Tools And Software
- Hacking Tools 2019
- Hack Tools For Pc
- Pentest Tools For Android
- Pentest Tools Port Scanner
- Pentest Tools Download
- Pentest Tools
- Hacker Tools 2020
- Top Pentest Tools
- Ethical Hacker Tools
- Hack And Tools
- Hack Tools For Games
- Kik Hack Tools
- Hacker Tools 2019
- Hacking Tools 2019
- Pentest Tools Android
- Tools Used For Hacking
- Nsa Hack Tools Download
- Hacking Tools
- Pentest Box Tools Download
- Game Hacking
- Hacker Tools Apk Download
- Hack Tools
- Hacking Tools For Kali Linux
- Pentest Tools Alternative
- Hackrf Tools
No comments:
Post a Comment