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 posts
- Pentest Tools Online
- Pentest Tools For Android
- Hack Tools Online
- Ethical Hacker Tools
- Hacker Search Tools
- Hacking Tools For Windows Free Download
- Pentest Tools Apk
- Hacker Tools For Ios
- Hak5 Tools
- Hacking Tools
- Top Pentest Tools
- Hacker Tool Kit
- How To Make Hacking Tools
- Hacker Hardware Tools
- Hacker Tools Apk
- Pentest Reporting Tools
- Hacker Tools Windows
- Hacking Tools For Windows Free Download
- New Hacker Tools
- Pentest Tools Bluekeep
- Hack Tools For Pc
- Black Hat Hacker Tools
- Hacker Tools Apk
- Pentest Tools For Windows
- Free Pentest Tools For Windows
- Pentest Tools Windows
- Nsa Hack Tools
- Growth Hacker Tools
- Hacker Tools Apk Download
- Hack Tools For Pc
- Hacking Tools Kit
- Hacking Tools Mac
- Pentest Tools Free
- Pentest Tools Online
- Hacking Tools For Windows
- Hacking Tools Name
- Pentest Tools Apk
- Pentest Tools Kali Linux
- Bluetooth Hacking Tools Kali
- Pentest Tools For Android
- Pentest Tools List
- Free Pentest Tools For Windows
- Growth Hacker Tools
- Pentest Tools Bluekeep
- How To Make Hacking Tools
- Hack Tools Github
- Hack Apps
- Bluetooth Hacking Tools Kali
- Pentest Tools For Ubuntu
- Free Pentest Tools For Windows
- Hack Tools Online
- Hack App
- Hacking Tools For Windows
- Hacks And Tools
- New Hacker Tools
- Hacking Tools Usb
- Hak5 Tools
- Hack Tools 2019
- Hacking Tools Pc
- Hacking Tools Pc
- Hacking Tools Name
- Pentest Tools Kali Linux
- Hacking Tools For Pc
- Hack App
- Hack Tools Online
- Github Hacking Tools
- Pentest Tools Online
- Hacker Tools For Pc
- Pentest Automation Tools
- Hacking Tools For Games
- Pentest Tools Website Vulnerability
- Hack Tools Online
- Pentest Tools Apk
- Tools Used For Hacking
- Hacks And Tools
- Hacker Tools Apk
- Hacker Tools Apk
- Hacking Tools Mac
- Hacker Tools Mac
- Hacking Tools Online
- Hacker Tools Mac
- Hack Apps
- Hacking Tools For Windows
- Nsa Hack Tools Download
- Hack Tools Mac
- Hak5 Tools
- Pentest Tools Android
- Pentest Tools For Android
- Nsa Hacker Tools
- Pentest Tools Bluekeep
- Hacking App
- Hacker Tools 2020
- Hackrf Tools
- Hack Apps
- Pentest Automation Tools
- Hacker Tools Windows
- Hack Tools 2019
- Pentest Tools Github
- Hacking Tools Usb
- Pentest Tools Nmap
- Hacker Tools Software
- Hack Website Online Tool
- Pentest Tools Nmap
- Hack App
- Black Hat Hacker Tools
- Hacker Tools For Mac
- Computer Hacker
- Hack App
- Pentest Box Tools Download
- Hacker Tools For Windows
- Hacking Tools For Pc
- Pentest Tools Website Vulnerability
- Pentest Recon Tools
- World No 1 Hacker Software
- Hack App
- New Hacker Tools
- Pentest Tools Kali Linux
- Pentest Tools Windows
- Android Hack Tools Github
- What Are Hacking Tools
- Hacking Tools Name
- Hacks And Tools
- Android Hack Tools Github
- Beginner Hacker Tools
- Easy Hack Tools
- Hacking Tools 2020
- Hack Tool Apk
- Hacker Tools Linux
- Hack Tool Apk No Root
- Hacker Tools Windows
- Install Pentest Tools Ubuntu
- Hacking Tools 2020
- How To Install Pentest Tools In Ubuntu
- Pentest Tools For Android
- Hacking App
- Pentest Tools For Android
- World No 1 Hacker Software
- Usb Pentest Tools
- Pentest Tools Url Fuzzer
- Hacker Tools For Mac
- Pentest Tools For Mac
- Hack Tools Mac
- Hack Tools For Mac
- Pentest Tools Kali Linux
- Pentest Tools Apk
- Tools For Hacker
- Hacking Tools Software
- Pentest Tools Linux
- Termux Hacking Tools 2019
- Wifi Hacker Tools For Windows
- Free Pentest Tools For Windows
- Hacking Tools Download
- Growth Hacker Tools
- Hacking Tools For Mac
- Bluetooth Hacking Tools Kali
- Hacking Tools 2020
- Pentest Tools List
- Hacker Techniques Tools And Incident Handling
No comments:
Post a Comment