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
- Hacks And Tools
- Hacking Tools Mac
- Tools 4 Hack
- Hackers Toolbox
- Pentest Tools Apk
- World No 1 Hacker Software
- Hacking Tools Hardware
- Easy Hack Tools
- How To Install Pentest Tools In Ubuntu
- Hack Tools For Windows
- Hacking Tools Kit
- Pentest Tools List
- Hack Tools For Games
- Pentest Tools Subdomain
- Computer Hacker
- Hacker Tools Software
- Pentest Tools Open Source
- Pentest Recon Tools
- Tools Used For Hacking
- Best Pentesting Tools 2018
- Hacker Search Tools
- Tools 4 Hack
- Install Pentest Tools Ubuntu
- Hack Apps
- Hacker Tools Linux
- Hacking Tools Mac
- Hacker
- New Hacker Tools
- Blackhat Hacker Tools
- Computer Hacker
- Computer Hacker
- Hacking Tools For Kali Linux
- Pentest Tools Apk
- Hacker Tools For Ios
- Blackhat Hacker Tools
- Hackrf Tools
- Hacking Tools Pc
- Hacking Tools For Windows
- Hacker
- Pentest Tools Github
- Hack Tools For Ubuntu
- Hack Website Online Tool
- Hacker Techniques Tools And Incident Handling
- Hack Tools 2019
- Bluetooth Hacking Tools Kali
- Hack Tool Apk
- Hacking App
- Nsa Hack Tools
- Tools 4 Hack
- How To Install Pentest Tools In Ubuntu
- Hackrf Tools
- Hacking Tools Free Download
- Pentest Tools For Ubuntu
- Tools For Hacker
- Hack Tools For Ubuntu
- Android Hack Tools Github
- Pentest Recon Tools
- Hacker Tools Free
- Hacker Tools Software
- World No 1 Hacker Software
- Termux Hacking Tools 2019
- Hacker Tools Mac
- Hacker Security Tools
- Hacking Tools Usb
- Hack Tools Download
- Hacker Tools Github
- Termux Hacking Tools 2019
- Tools Used For Hacking
- Hack Tools Pc
- Hacker Hardware Tools
- Pentest Tools For Mac
- How To Hack
- Hack Tool Apk No Root
- Pentest Box Tools Download
- Pentest Tools List
- Hacker Search Tools
- Hacking Tools Download
- Hack App
- Pentest Reporting Tools
- Best Hacking Tools 2019
- Hacking Tools For Mac
- Ethical Hacker Tools
- Hacker Tools 2020
- Hacking Tools Hardware
- Pentest Recon Tools
- Pentest Tools Website Vulnerability
- Hack Tools For Games
- Pentest Tools Github
- Pentest Tools
- Hacking Tools 2020
- Hacking Tools For Windows
- Pentest Recon Tools
- Hack Tool Apk No Root
- Hack Tools
- Hacker Security Tools
- Hacker Tools Free
- Easy Hack Tools
- Pentest Automation Tools
- Hack Tools For Ubuntu
- Wifi Hacker Tools For Windows
- Hack Tools
- Hack Website Online Tool
- Pentest Recon Tools
- Pentest Tools Port Scanner
- Beginner Hacker Tools
- Black Hat Hacker Tools
- Hack Tools Github
- Hack Tools For Games
- Pentest Tools Kali Linux
- Hacking Tools
- Hacker Tools Linux
- Hacker Tools For Mac
- Nsa Hack Tools
- Hacking Tools 2019
- Hacking Tools 2019
- Hacking Tools For Pc
- Hacking Tools Free Download
- Hackers Toolbox
- Beginner Hacker Tools
- Hack Tools For Mac
- Hacking Tools Windows 10
- Tools Used For Hacking
- Best Hacking Tools 2020
- Hacking App
- Hacking Tools 2019
- Hacker Tools List
- What Are Hacking Tools
- Pentest Tools Download
- Hacker Tools Software
- Nsa Hacker Tools
- Hack Tool Apk
- Free Pentest Tools For Windows
- Computer Hacker
- Hack Tools Online
- Github Hacking Tools
- Hacking Tools Hardware
- Hacking Tools For Beginners
- Hacking Tools For Beginners
- Nsa Hacker Tools
- Hack App

No comments:
Post a Comment