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
- Hack Apps
- Pentest Tools Alternative
- Hacker Tools Free
- Hack Rom Tools
- Pentest Tools For Android
- Wifi Hacker Tools For Windows
- Pentest Tools Github
- Free Pentest Tools For Windows
- Pentest Tools Url Fuzzer
- Hack Tools For Windows
- Hacking Tools Usb
- Hack Tools For Windows
- Hacker Tools For Mac
- Hack Tools 2019
- Hack Tools
- Hackrf Tools
- Hacking Tools Hardware
- Hacker Tools Windows
- Hackers Toolbox
- What Are Hacking Tools
- World No 1 Hacker Software
- Pentest Tools For Android
- Usb Pentest Tools
- Tools For Hacker
- Hack Tools Mac
- Pentest Tools Github
- Best Pentesting Tools 2018
- Computer Hacker
- Physical Pentest Tools
- Hack Tools For Mac
- Hacker
- Pentest Tools For Android
- Install Pentest Tools Ubuntu
- Hacker Search Tools
- Hacking Tools Free Download
- Pentest Tools Kali Linux
- Hacker Hardware Tools
- Pentest Tools
- Hacking Tools For Games
- Hack And Tools
- Hack Apps
- Pentest Tools Github
- Hack Tools Download
- Hack Tools 2019
- Growth Hacker Tools
- New Hack Tools
- Pentest Tools List
- Hacking Tools For Windows 7
- Hack Tools
- Hacking Tools Github
- Hacking Tools Online
- Hacking Tools For Games
- Hacking Tools Usb
- Hacker Tools Free Download
- Pentest Tools Url Fuzzer
- Hack Tools For Windows
- Pentest Tools Alternative
- Pentest Tools Android
- Hacker Tools For Mac
- Hacker Tools Apk Download
- Pentest Tools Windows
- Hack And Tools
- Tools Used For Hacking
- Hack Tools Github
- Hacker Tool Kit
- Game Hacking
- Hacker Tools For Ios
- Termux Hacking Tools 2019
- Hacking Tools For Windows 7
- Hacker Tools List
- Hacker Techniques Tools And Incident Handling
- Pentest Tools Github
- Pentest Tools Alternative
- How To Install Pentest Tools In Ubuntu
- Beginner Hacker Tools
- Pentest Tools Android
- Pentest Reporting Tools
- Hacker
- Hack Tools
- Hacker Tools Free Download
- Hacking Tools For Windows 7
- Wifi Hacker Tools For Windows
- Hack Tools For Pc
- Easy Hack Tools
- Pentest Recon Tools
- Game Hacking
- Hack Tool Apk No Root
- Pentest Tools Open Source
- Hacker Tools For Windows
- Free Pentest Tools For Windows
- Hacker Tools Online
- Black Hat Hacker Tools
- Hack Tools Online
- Pentest Tools Tcp Port Scanner
- Hacking Tools Hardware
- Pentest Tools Windows
- New Hack Tools
- Hacker Hardware Tools
- Pentest Tools Free
- Hacking Tools Kit
- Hacker Tools Hardware
- Pentest Tools Alternative
- Hack Tools Pc
- Easy Hack Tools
- Pentest Tools Android
- Pentest Tools For Windows
- Hack Tools
- Hacking Tools For Beginners
- Hacking Tools Github
- Pentest Tools Github
- Hacking Apps
- Hacker Tools Free
- Best Pentesting Tools 2018
- Wifi Hacker Tools For Windows
- Top Pentest Tools
- Hack Tools 2019
- Hacker Tools Mac
- Free Pentest Tools For Windows
- Hacking Tools Pc
- Github Hacking Tools
- Hacking Tools For Mac
- Hacker Tools List
- Pentest Tools Free
- Hack Tools Pc
- Hacker Techniques Tools And Incident Handling
- Hacking Tools 2019
- Hacker Tools Windows
- Hacking Tools For Windows 7
- New Hack Tools
- Hack Tools Mac
- Hacker Tools Apk
- Termux Hacking Tools 2019
- Pentest Tools Free
- Hacking Tools For Windows
- Hacker Tools Free Download
- New Hacker Tools
- Pentest Tools Free
- Hack Website Online Tool
- Pentest Automation Tools
- Hacking Tools And Software
- Hacking App
- Tools 4 Hack
- Hacking Tools Download
- Easy Hack Tools
- Hacker Tool Kit
- Ethical Hacker Tools
- Tools For Hacker
- Hacking Tools For Windows 7
- Pentest Tools Kali Linux
- Ethical Hacker Tools
- Hack Tools
- Hacker Tools Software
No comments:
Post a Comment