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
- Hacking Tools For Beginners
- Pentest Tools Bluekeep
- Pentest Tools Windows
- Pentest Tools
- Hacker Tool Kit
- Hacker Tools For Ios
- Hack Website Online Tool
- Hacking Tools Kit
- Hacking Tools 2020
- Termux Hacking Tools 2019
- What Is Hacking Tools
- Hacker Tools Windows
- Pentest Tools Tcp Port Scanner
- Hacker Tools Mac
- Pentest Tools Open Source
- Hacking Tools Online
- Pentest Tools Url Fuzzer
- Nsa Hack Tools
- What Are Hacking Tools
- Best Hacking Tools 2020
- Best Hacking Tools 2019
- Hack Tools Github
- Hack Tool Apk No Root
- Pentest Tools Bluekeep
- What Are Hacking Tools
- Hack Tools
- Nsa Hack Tools Download
- Hacker Hardware Tools
- Pentest Tools For Ubuntu
- Hacking Tools For Windows 7
- Underground Hacker Sites
- Pentest Tools Alternative
- Hack Tool Apk No Root
- Hacking Tools Hardware
- Pentest Tools Linux
- Hacker Tools For Windows
- Hacker Tools Windows
- Best Hacking Tools 2019
- Computer Hacker
- New Hack Tools
- Pentest Tools Kali Linux
- Pentest Tools List
- Hacking Tools Name
- Hacker Tools 2020
- New Hacker Tools
- Pentest Tools Framework
- Hack Tools For Games
- Black Hat Hacker Tools
- Hack Tools
- Hacking Tools Free Download
- Best Hacking Tools 2019
- Black Hat Hacker Tools
- Hacking Apps
- Pentest Tools Android
- Pentest Tools Online
- Hack Tools 2019
- Growth Hacker Tools
- World No 1 Hacker Software
- Android Hack Tools Github
- Pentest Tools For Ubuntu
- Hacker Tools Apk Download
- Tools 4 Hack
- Hacking Tools For Windows 7
- Top Pentest Tools
- Hack Website Online Tool
- Hacking Tools Github
- Best Hacking Tools 2019
- Best Hacking Tools 2020
- Hacker Tools Apk
- Bluetooth Hacking Tools Kali
- Pentest Tools Alternative
- Hacking Tools
- Blackhat Hacker Tools
- Pentest Tools Github
- Hacking Tools For Windows Free Download
- Hacker Tools 2019
- Hacker Tools Software
- Hacker Tools Windows
- Tools Used For Hacking
- Pentest Tools For Ubuntu
- Hacking Tools For Windows Free Download
- Hacker Tool Kit
- Easy Hack Tools
- Pentest Tools Github
- Hacking Tools Free Download
- Hack Tools For Windows
- Hack Website Online Tool
- Pentest Tools Port Scanner
- Hack Tools For Games
- New Hacker Tools
- Hack And Tools
- Growth Hacker Tools
- Pentest Tools List
- Github Hacking Tools
- Usb Pentest Tools
- Pentest Tools Review
- Hacker Tools Online
- Hacking Tools Windows
- Hacker
- Hacker Tools Mac
- Hack Website Online Tool
- Hacking Tools 2019
- Physical Pentest Tools
- Hacker Tools 2019
- Game Hacking
- How To Install Pentest Tools In Ubuntu
- Computer Hacker
- Hacker Hardware Tools
- Github Hacking Tools
- Game Hacking
- Pentest Tools Website
- Hack Tools Online
- Hacker
- Hacker Tools Windows
- Hacking Tools Kit
- Hacking Tools 2020
- Hacker Tools For Windows
- Pentest Tools Download
- Hacking Tools For Games
- Pentest Box Tools Download
- How To Install Pentest Tools In Ubuntu
- Pentest Tools For Mac
- Install Pentest Tools Ubuntu
- Hackers Toolbox
- Hacker Tools Apk Download
- Pentest Tools Website Vulnerability
Tidak ada komentar:
Posting Komentar