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
- Hack Tools Download
- Pentest Tools Kali Linux
- Pentest Tools Website Vulnerability
- Tools For Hacker
- Hacking Tools Mac
- Hacking Tools Usb
- Hacking Tools Windows
- Hacker Tools For Ios
- Hacking Tools For Kali Linux
- Pentest Tools Framework
- Pentest Tools Review
- Pentest Tools Linux
- Hacking Tools Windows 10
- Hacker Tools Github
- Best Pentesting Tools 2018
- Pentest Automation Tools
- New Hacker Tools
- Best Hacking Tools 2019
- Hack Tools
- What Are Hacking Tools
- Hack Apps
- Pentest Tools Apk
- Pentest Tools Review
- Hacking Tools 2019
- Pentest Tools Github
- Hack Website Online Tool
- Pentest Tools Website Vulnerability
- Hacking Tools 2019
- Blackhat Hacker Tools
- Hacking Tools Windows
- Pentest Box Tools Download
- How To Install Pentest Tools In Ubuntu
- Hacking Tools Software
- Pentest Tools Linux
- Pentest Tools For Windows
- Black Hat Hacker Tools
- Hacker Techniques Tools And Incident Handling
- Hack Tools Pc
- Game Hacking
- Blackhat Hacker Tools
- Pentest Tools Subdomain
- Hack Tools For Pc
- Hacking Tools Download
- Hack Tools For Pc
- Hacking Tools For Windows Free Download
- Hacking Tools Usb
- Hacking App
- Hacking Tools Kit
- Hacker Tools 2020
- Hacker Tools Apk
- Pentest Tools Kali Linux
- Hacking Tools Hardware
- Black Hat Hacker Tools
- Hacking Apps
- Pentest Tools Android
- Tools For Hacker
- Hacking Tools Online
- Hack Tools For Ubuntu
- Black Hat Hacker Tools
- Nsa Hack Tools
- Hacking Tools For Beginners
- Hacker Tools 2019
- Hacker Tools For Mac
- Hacking Tools Pc
- Nsa Hacker Tools
- Pentest Tools Linux
- Hacks And Tools
- Pentest Tools
- Free Pentest Tools For Windows
- Hacker Tools
- Nsa Hacker Tools
- Best Hacking Tools 2019
- Top Pentest Tools
- Easy Hack Tools
- Hack Tools For Mac
- Hack Tools For Mac
- Hacking Tools For Beginners
- Easy Hack Tools
- Kik Hack Tools
- Hack Website Online Tool
- Pentest Tools Download
- Hacking Tools For Windows Free Download
- Black Hat Hacker Tools
- Hacker
- Hack Website Online Tool
- Pentest Tools Github
- Usb Pentest Tools
- Pentest Tools For Android
- Hack Tools Github
- Computer Hacker
- Pentest Tools Framework
- Pentest Tools Windows
- Hack Apps
- Hak5 Tools
- How To Install Pentest Tools In Ubuntu
- Hack App
- Hack Tools Pc
- Hacking Tools Free Download
- Hack Tool Apk No Root
- Hack Tools Mac
- Hack Rom Tools
- Pentest Tools Port Scanner
- Hacking Tools For Windows Free Download
- Hacker Techniques Tools And Incident Handling
- Pentest Tools Free
- Pentest Tools Nmap
- Pentest Tools Android
- Hack Tools For Games
- Hacking Tools For Windows
- Hacker Security Tools
- New Hacker Tools
- Pentest Tools Apk
- Beginner Hacker Tools
- Hack Rom Tools
- Hacker Tools Linux
- Hacker Tools Mac
- Hackrf Tools
- Pentest Tools List
- Hacking Tools For Windows 7
- Top Pentest Tools
- Hacker Tools For Mac
- Hacking Tools For Beginners
- Hack Tools For Ubuntu
- Hack Tools For Games
- Hacking Tools Usb
- Hacker Tools Online
- Hacking Tools For Pc
- Pentest Tools Website
- Hacker Tools Online
- Hacker Tools Github
- Pentest Tools Github
- Hack Tools For Mac
- Pentest Tools
- Pentest Tools Tcp Port Scanner
- Top Pentest Tools
- Hacking Tools Mac
- Hacker Tools Apk Download
- Hacking Tools For Windows
- Hacker Security Tools
- Pentest Tools
- Pentest Tools List
- Pentest Automation Tools
- Hack Tools For Mac
- Hacking Tools For Mac
- Hacker Tools Software
- What Are Hacking Tools
- Pentest Reporting Tools
- Hacker Tools For Ios
- Pentest Tools List
- Pentest Recon Tools
- Hacking Tools For Pc
- Hacking Tools For Pc
- World No 1 Hacker Software
- Hack Tools For Pc
- Pentest Tools Subdomain
- Best Hacking Tools 2019
- Bluetooth Hacking Tools Kali
- What Is Hacking Tools
- Hacker Tools List
- Hacker Tools Software
- What Are Hacking Tools
- New Hacker Tools
- Hacking Tools Windows 10
- Hacker Tools For Mac
- Pentest Tools Find Subdomains
- Pentest Reporting Tools
- Pentest Tools Find Subdomains
- Pentest Tools Url Fuzzer
- Termux Hacking Tools 2019
- How To Make Hacking Tools
- Hacker Tool Kit
- Install Pentest Tools Ubuntu
- What Are Hacking Tools
- Physical Pentest Tools
- Hack Apps
- Pentest Tools For Ubuntu
- Hacker Tools List
- New Hack Tools

No hay comentarios:
Publicar un comentario