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
- Top Pentest Tools
- Computer Hacker
- How To Install Pentest Tools In Ubuntu
- Hacker Tools Hardware
- Hacker Tools Linux
- Tools 4 Hack
- Ethical Hacker Tools
- Pentest Tools Open Source
- Hack Tool Apk No Root
- Hack Tools Mac
- Tools For Hacker
- Hacker Tools Free Download
- Hackers Toolbox
- Pentest Tools Review
- Blackhat Hacker Tools
- Pentest Tools For Ubuntu
- Hack Tools For Windows
- Hacking Tools Hardware
- Hacking Tools For Beginners
- Hacking Tools And Software
- Pentest Tools Review
- Hacking Tools Download
- Hacking Tools Hardware
- Pentest Tools Kali Linux
- Hack Rom Tools
- Beginner Hacker Tools
- Hack Tool Apk
- Hack Tools For Ubuntu
- Hacker Tools Free Download
- Free Pentest Tools For Windows
- Pentest Tools Kali Linux
- Hacking Tools For Windows Free Download
- Pentest Tools Nmap
- Hacking Tools For Windows Free Download
- Hacker Tool Kit
- Hacking Tools For Windows Free Download
- Hack Tools
- How To Hack
- Hack Tools Online
- Hack Tools For Mac
- Hacking Tools Mac
- Pentest Tools Windows
- Ethical Hacker Tools
- Hack Tools For Games
- Hacker Tools 2019
- Hacker Tools Mac
- Hack Tools Online
- Hacker Search Tools
- Hack Rom Tools
- How To Make Hacking Tools
- Hack Tools Download
- Hacking Tools Software
- Hack Tools For Mac
- Nsa Hack Tools Download
- Hacking Tools For Mac
- Hack Apps
- Pentest Tools Apk
- Pentest Reporting Tools
- Ethical Hacker Tools
- Hack Rom Tools
- Hack Tools Mac
- How To Hack
- Nsa Hack Tools Download
- Termux Hacking Tools 2019
- Hacking Tools Github
- Pentest Tools
- Hacker Tools Windows
- Hacks And Tools
- Hack Tools 2019
- Black Hat Hacker Tools
- Free Pentest Tools For Windows
- Pentest Tools
- Tools 4 Hack
- Kik Hack Tools
- Bluetooth Hacking Tools Kali
- Pentest Tools Alternative
- Nsa Hack Tools Download
- Hacking Tools Online
- Pentest Tools Download
- Hacking Tools Usb
- Pentest Tools Find Subdomains
- Pentest Tools List
- New Hacker Tools
- Hacker Search Tools
- Pentest Tools Website
- Pentest Tools Android
- Pentest Tools Alternative
- Pentest Tools Subdomain
- Hacking Tools Windows 10
- Hack App
- Easy Hack Tools
- Hacking Tools For Pc
- Hacker Tools 2020
- Growth Hacker Tools
- Pentest Tools Bluekeep
- Hack Tools Github
- Pentest Reporting Tools
- Hack Tool Apk No Root
- Pentest Tools Alternative
- Hacker Tools Free Download
- Hacker Tools Apk Download
- Hacker Techniques Tools And Incident Handling
- Pentest Tools Port Scanner
- Hacking Tools
- Hacker Tools Free Download
- Pentest Recon Tools
- Pentest Tools Android
- Pentest Recon Tools
- Hacker Tools Software
- Hacking Tools And Software
- Hack Website Online Tool
- Hack App
- Hacker Tools Apk Download
- Usb Pentest Tools
- Hacking Tools 2020
- Hack Tools
- Best Pentesting Tools 2018
- Pentest Tools Find Subdomains
- Pentest Tools Android
- Hack Tools For Ubuntu
- Growth Hacker Tools
- Pentest Tools Online
- Hacker Search Tools
- Hacking Tools For Pc
- Hack Tools Download
- Hack Tools For Mac
- Hack Rom Tools
- Pentest Tools Linux
- Hackers Toolbox
- Hack Tools For Ubuntu
- World No 1 Hacker Software
- Pentest Tools Framework
- New Hacker Tools
- Nsa Hack Tools
- Hackrf Tools
- Free Pentest Tools For Windows
- Hack Tools For Mac
- Hacker Tools Github
- Hacker Tools Online
- Pentest Tools Review
- Hack Tools Download
- Hacker Tools Linux
- Android Hack Tools Github
- Hacking Tools Online
- Hack Tools
- How To Make Hacking Tools
- Hacker Tools Free Download
- Hacking Tools For Mac
- Best Hacking Tools 2019
- Nsa Hacker Tools
- Hacker Tools Apk
- Hacker Tools 2019
- Hacker Tools Mac
- What Are Hacking Tools
No comments:
Post a Comment
Post your comments here: