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 news
- Hacker Tools Linux
- Hack Tools For Mac
- Hacker Tools
- Hacking Tools Usb
- Hacking Tools For Mac
- Best Hacking Tools 2020
- Hacks And Tools
- Hacking App
- Best Hacking Tools 2020
- Pentest Tools Nmap
- Hack Tools Mac
- Pentest Tools Linux
- Hacker Tools Apk Download
- Android Hack Tools Github
- Hack Tools Online
- Beginner Hacker Tools
- Hacking Tools Hardware
- Hacker Tools
- Hack Tools For Windows
- Install Pentest Tools Ubuntu
- Hacks And Tools
- Pentest Tools List
- Pentest Tools Github
- Pentest Tools Framework
- Hack Tools Online
- Hacker Tools For Windows
- Pentest Tools Alternative
- Hacking Apps
- Hack Website Online Tool
- Top Pentest Tools
- Hack Apps
- Hack Tools
- Nsa Hack Tools
- Pentest Tools Tcp Port Scanner
- Nsa Hack Tools
- Hacker Tools
- Beginner Hacker Tools
- Wifi Hacker Tools For Windows
- Hacker Tools 2019
- Hack Tools Download
- Hack Website Online Tool
- Hacking Tools Free Download
- Hacker Tools Software
- Hacking Tools For Windows 7
- Pentest Tools For Mac
- Best Hacking Tools 2019
- Hacking Tools Github
- New Hack Tools
- Hacker Hardware Tools
- Pentest Tools Github
- Hacker Tools Windows
- Pentest Tools For Ubuntu
- Hacking Tools For Windows
- Pentest Tools List
- Hacking Tools
- Hacking Apps
- Nsa Hack Tools Download
- Hacking Tools Pc
- Pentest Tools Apk
- Hack Tools 2019
- Hacker Tools Apk
- Hacks And Tools
- Game Hacking
- Hacker Tools Windows
- Hacker Tools Github
- Hack Tools For Mac
- Nsa Hack Tools Download
- Nsa Hacker Tools
- Pentest Tools Tcp Port Scanner
- Pentest Reporting Tools
- Underground Hacker Sites
- Best Hacking Tools 2019
- Hack Rom Tools
- Pentest Tools Review
- Hacking Tools Download
- Ethical Hacker Tools
- Hacking Tools And Software
- Hacking Tools Hardware
- Pentest Tools For Android
- Hack Tools For Mac
- Pentest Tools For Mac
- What Are Hacking Tools
- Hacker Tools Linux
- Pentest Tools Framework
- Hackrf Tools
- Hack Apps
- Pentest Recon Tools
- Hack Rom Tools
- Hacker Tools Apk
- Kik Hack Tools
- Hacker Tools
- Hacking Tools And Software
- Hak5 Tools
- Termux Hacking Tools 2019
- Hacking Tools Usb
- Hacker Tools
- Hacker Hardware Tools
- Hacker Tools List
- Hack Tools Pc
- Hacking Tools Windows
- Hacker Techniques Tools And Incident Handling
- Pentest Tools Subdomain
- Hacker Tools Linux
- Hack Rom Tools
- Pentest Tools Website Vulnerability
- How To Hack
No comments:
Post a Comment