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 links
- Bluetooth Hacking Tools Kali
- Hack App
- Hacker Tools Windows
- Pentest Tools Linux
- Bluetooth Hacking Tools Kali
- Hacking Tools Pc
- Hacking Tools Usb
- Hack Tool Apk No Root
- Pentest Tools For Windows
- How To Hack
- Hacker Tools Github
- Pentest Tools For Android
- Hacker Tools Online
- Hacker Tools 2019
- Pentest Tools Kali Linux
- Hack Tool Apk
- Hack Tool Apk
- Hacker Tools List
- Hack Tools For Windows
- Pentest Tools For Ubuntu
- Pentest Tools Tcp Port Scanner
- Hacker Tools Linux
- Hacker Tool Kit
- Hacking Tools For Beginners
- Hack Tool Apk No Root
- Pentest Tools Url Fuzzer
- Hack App
- Pentest Tools Apk
- Pentest Box Tools Download
- Pentest Tools Open Source
- Hak5 Tools
- Usb Pentest Tools
- Computer Hacker
- Pentest Recon Tools
- Easy Hack Tools
- Hacker Security Tools
- Hacking Tools For Kali Linux
- Hacking Tools Pc
- Hack Tools 2019
- Growth Hacker Tools
- Kik Hack Tools
- What Are Hacking Tools
- Hak5 Tools
- Hacker Tools Free
- Hack Tools For Games
- Hack Tools Pc
- Hacker Tools Github
- Hacker Tools For Mac
- Beginner Hacker Tools
- Pentest Tools Nmap
- Hacker Tools Apk Download
- Pentest Tools Port Scanner
- Hacker Tools Hardware
- Hacking Tools Kit
- Pentest Tools Apk
- Tools 4 Hack
- Hacker Tools Mac
- Hacking Tools And Software
- Kik Hack Tools
- Hacker Tools Free Download
- Pentest Tools List
- Pentest Tools Github
- Hack Rom Tools
- New Hack Tools
- Hack Tool Apk No Root
- Pentest Box Tools Download
- Hacker Tool Kit
- Hacker Tools Github
- Hack Tools Github
- Hack Website Online Tool
- Hak5 Tools
- Hack Tools 2019
- Hacking Tools Windows 10
- Hacking Tools For Mac
- Hacker Tools For Ios
- Pentest Tools Android
- Hacking Tools For Windows 7
- Hak5 Tools
- Pentest Tools Apk
- Hack Tool Apk No Root
- Pentest Tools Subdomain
- Pentest Tools Subdomain
- Hacker
- Hacker Hardware Tools
- Hack Tool Apk No Root
- What Are Hacking Tools
- Pentest Tools For Ubuntu
- Hack Tools Download
- Hack Tools For Games
- Ethical Hacker Tools
- Computer Hacker
- Pentest Tools Website
- Pentest Tools For Ubuntu
- Hacker Tools For Ios
- Hacking Tools Usb
- Ethical Hacker Tools
- Hack Tools For Windows
- Tools 4 Hack
- Nsa Hacker Tools
- Hacker Tools For Mac
- Hack Tools For Games
- Pentest Tools
- Hack Tools Online
- Hacker Tools List
- Hack Tools Download
- Hacking Tools Hardware
- Hack Tool Apk
- Hack Tools
- Hacker Tools Apk Download
- Hack Tools Github
- Best Hacking Tools 2019
- Pentest Tools Android
- Hack Tools For Games
- What Is Hacking Tools
- Free Pentest Tools For Windows
- Nsa Hack Tools
- Pentest Tools Github
- Hack Tools Mac
- Best Hacking Tools 2020
- Pentest Tools Linux
- Best Hacking Tools 2019
- Pentest Tools Linux
- Hacker Hardware Tools
- Hacking Tools And Software
- Pentest Tools Apk
- Pentest Tools For Mac
- Pentest Tools Nmap
- Hacker Tools Apk Download
- Pentest Tools Apk
- How To Hack
- Hack Tools Github
- Computer Hacker
- Pentest Tools Windows
- Hack And Tools
- Hacking Tools Windows 10
- Hacker Tools Hardware
- Hacker Tools Github
- Hacking App
- Hacking Tools 2020
- Hacker Tools
- Pentest Tools Website Vulnerability
- Pentest Tools Website
- Pentest Tools Nmap
- Hack Tools Mac
- Bluetooth Hacking Tools Kali
- Hack Tools Github
- Free Pentest Tools For Windows
- Hacker Tools
- Hacking Tools Windows
- Hack Tools
No comments:
Post a Comment