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
- Hacking Tools For Games
- Hack Tools Download
- Pentest Tools Android
- Game Hacking
- Hacker Tools Hardware
- Pentest Automation Tools
- Hack Tools Online
- Pentest Tools For Mac
- Pentest Tools Framework
- Physical Pentest Tools
- Pentest Tools Online
- Hacking Tools 2020
- Pentest Tools Bluekeep
- Hacking Tools Kit
- Hacker Tools For Pc
- Hacking Tools For Games
- Pentest Tools Website
- Hacking Tools For Windows
- Hacking Tools Name
- Hacking Tools 2019
- Pentest Recon Tools
- Pentest Recon Tools
- Hacker Tools For Ios
- Hacking Tools Name
- Hacker Security Tools
- Hacking Tools Windows
- Pentest Tools Find Subdomains
- Pentest Tools Kali Linux
- Hacking Tools For Kali Linux
- Pentest Tools Nmap
- Pentest Tools Windows
- Pentest Tools
- Android Hack Tools Github
- Hacking Tools
- Hacking Apps
- Hacker Tools Software
- Pentest Tools
- Top Pentest Tools
- Hacker Search Tools
- Hack Tools For Windows
- Hacking Tools Kit
- How To Make Hacking Tools
- Hacking Tools Pc
- Hack Tools For Pc
- Pentest Reporting Tools
- Pentest Tools Online
- Pentest Automation Tools
- Blackhat Hacker Tools
- Black Hat Hacker Tools
- Pentest Tools Online
- Hack Tools
- Hacking Apps
- Hacker Tools For Ios
- Hacker Search Tools
- Best Pentesting Tools 2018
- Hacking Tools For Mac
- Game Hacking
- Black Hat Hacker Tools
- Hack Tool Apk
- Tools 4 Hack
- Hacker Tools Software
- Pentest Tools Url Fuzzer
- Hack Tools
- Pentest Tools Alternative
- Hacker Tools Linux
- Hacking Tools For Kali Linux
- Hacking Tools Download
- Hacking Tools Usb
- Growth Hacker Tools
- Hacking Tools And Software
- Hacker Tool Kit
- What Are Hacking Tools
- Game Hacking
- Blackhat Hacker Tools
- Hacker Search Tools
- Pentest Tools Open Source
- Pentest Tools Subdomain
- Underground Hacker Sites
- Hacker Tools List
- Hacking Tools For Kali Linux
- Hacker Techniques Tools And Incident Handling
- Ethical Hacker Tools
- Hacker Security Tools
- Pentest Tools Free
- Hack Tools For Pc
- Hack Website Online Tool
- Hacking Tools
- Hacking App
- Hacking Tools For Windows 7
- Tools For Hacker
- Computer Hacker
- Wifi Hacker Tools For Windows
- Pentest Tools Open Source
- Hacking Tools Windows
- Pentest Tools Find Subdomains
- Android Hack Tools Github
- Hacking Tools For Mac
- Hack Website Online Tool
- Hack Tools Online
- What Is Hacking Tools
- Pentest Tools Website Vulnerability
- Hacker Tools For Mac
- Pentest Recon Tools
- Nsa Hack Tools Download
- Hacker Tools Free
- New Hack Tools
- Hackers Toolbox
- Hacker Techniques Tools And Incident Handling
- Blackhat Hacker Tools
- Hacking Tools Github
No comments:
Post a Comment