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
- Hacker Tools Apk Download
- Hacker Tools 2019
- Pentest Tools List
- Underground Hacker Sites
- Hacking Tools Mac
- Hack Rom Tools
- Pentest Tools Free
- Black Hat Hacker Tools
- Hack Tools For Games
- Hacker Tools Free Download
- Pentest Tools Download
- Pentest Tools Review
- Nsa Hack Tools Download
- Pentest Tools Download
- Pentest Tools Free
- Hack Tools For Mac
- Hacking Tools Mac
- Hack Tools For Mac
- Hacking Tools Windows 10
- Hacker Tools Hardware
- Hacker Tools Free Download
- New Hack Tools
- How To Hack
- Hacker Tools Apk
- Hacker Hardware Tools
- Beginner Hacker Tools
- Usb Pentest Tools
- Hacking Tools Windows
- Wifi Hacker Tools For Windows
- Hack Tool Apk
- Hak5 Tools
- Blackhat Hacker Tools
- Hacker Tools Free Download
- Install Pentest Tools Ubuntu
- Hacks And Tools
- Nsa Hacker Tools
- Hacker Tools Apk Download
- Hack Tools For Mac
- Pentest Tools For Android
- Hacker Tools Online
- Hacking Tools 2020
- Pentest Box Tools Download
- Hacker Tools For Pc
- Pentest Recon Tools
- Pentest Tools Open Source
- Hak5 Tools
- Game Hacking
- Game Hacking
- Hacker Tools Online
- Pentest Tools Linux
- Hacker Search Tools
- Hacker Tools Github
- Pentest Tools Port Scanner
- Pentest Tools Nmap
- Nsa Hack Tools
- Pentest Tools Kali Linux
- Hacking Tools For Windows
- Hacker Tools For Windows
- Hack App
- Tools 4 Hack
- Hack Tool Apk No Root
- Hacking Tools Mac
- Hacker Tools Linux
- Pentest Tools For Ubuntu
- Hacker Tools Linux
- Hacking Tools
- Hacking Tools For Kali Linux
- Pentest Tools For Android
- Computer Hacker
- Hacking Tools And Software
- Hacker Tools Apk Download
- Hack Rom Tools
- Tools 4 Hack
- Physical Pentest Tools
- Nsa Hack Tools
- Underground Hacker Sites
- How To Install Pentest Tools In Ubuntu
- Hacker Tool Kit
- Hacking Tools 2020
- Hacker Tools
- Blackhat Hacker Tools
- Hacker Techniques Tools And Incident Handling
- Hackers Toolbox
- Nsa Hack Tools
- Nsa Hacker Tools
- Hacker Tools Online
- Tools 4 Hack
- Pentest Tools Framework
- Hacking Tools 2020
- Hacker Tools Linux
- Hacking Tools For Games
- Blackhat Hacker Tools
- Wifi Hacker Tools For Windows
- Hacker Tools 2020
- World No 1 Hacker Software
- Hacker Tools Apk
- Growth Hacker Tools
- How To Install Pentest Tools In Ubuntu
- Hack Tools For Windows
- Pentest Tools Windows
- Best Hacking Tools 2019
- Pentest Tools For Android
- How To Hack
- Hacking Tools Mac
- Best Hacking Tools 2020
- Hacking Tools And Software
- Hack Tools
- Hacker Tools Online
- Black Hat Hacker Tools
- Tools 4 Hack
- Pentest Tools Android
- Top Pentest Tools
- Pentest Tools Tcp Port Scanner
- Hacker Security Tools
- Best Hacking Tools 2020
- New Hack Tools
- How To Hack
- Hacking Tools For Pc
- Hacker Tools For Windows
- Nsa Hack Tools Download
- Hack Tools Mac
- Hack Tools Mac
- Nsa Hacker Tools
- Hacking Tools And Software
- Hacking Tools Usb
- Pentest Automation Tools
- Hack Tools For Windows
- Pentest Tools Windows
- Hacking Tools Software
- Pentest Tools Subdomain
- Hacker Tools Hardware
- Hacker Tools Software
- Pentest Box Tools Download
- Pentest Tools List
- Tools Used For Hacking
- Hacker Tools For Mac
- Pentest Tools For Ubuntu
- Hack Tools For Windows
- Hacking Tools Online
- Pentest Tools Subdomain
- How To Install Pentest Tools In Ubuntu
- Hacking Tools For Kali Linux
- Hacker Tools Free Download
- Hacker Tools Github
- Hacking Tools Usb
- Hacker Tools Windows
- Hack Tools Online
- Bluetooth Hacking Tools Kali
- Hack Tool Apk
- Hacking Tools For Mac
- Hacker
- Pentest Tools Download
- Hacking Tools For Windows
- Hacker Tools Free Download
Tidak ada komentar:
Posting Komentar