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
- Pentest Tools Framework
- Pentest Tools Kali Linux
- New Hack Tools
- Hacking Tools For Windows 7
- Hacks And Tools
- Hacking Tools For Pc
- Best Pentesting Tools 2018
- Hack Tools Online
- Github Hacking Tools
- Hacker Hardware Tools
- Hacker Tools For Ios
- Hack Website Online Tool
- Hack Tools
- Black Hat Hacker Tools
- Hacking Tools For Mac
- Pentest Tools Review
- Pentest Tools For Windows
- Hacker Tools Windows
- Hacker Tools For Windows
- Hacking Tools 2019
- Hacking Tools Windows
- How To Make Hacking Tools
- Hack Apps
- Underground Hacker Sites
- Hacking Tools Hardware
- Hack And Tools
- Best Hacking Tools 2019
- Hacker Tools Github
- Hack Tools 2019
- Hacking Tools Kit
- Hack Tools Online
- Pentest Tools Free
- Hacker Search Tools
- Game Hacking
- Pentest Tools Open Source
- Best Hacking Tools 2019
- Hacker Tools Online
- Hacking Tools For Windows Free Download
- Hacker Tools Apk
- Hacking Tools
- Hack Tools
- How To Make Hacking Tools
- Hacker Tools Free Download
- Hacking Tools Usb
- Hacking Tools For Windows 7
- Hacker Tools Hardware
- Pentest Tools Free
- Hacker Tools Linux
- Hack And Tools
- Hacking Tools For Windows 7
- Hacker Tools 2020
- Termux Hacking Tools 2019
- Hacker Search Tools
- Pentest Tools Download
- Hacking Tools Pc
- Pentest Tools Find Subdomains
- Termux Hacking Tools 2019
- Hack Tool Apk No Root
- Hacker Tools Apk
- Hacking Tools For Beginners
- Easy Hack Tools
- Nsa Hack Tools
- How To Install Pentest Tools In Ubuntu
- Hacker Tools
- Hacking Tools 2020
- Pentest Tools Linux
- Beginner Hacker Tools
- Pentest Tools
- Pentest Tools Download
- Pentest Box Tools Download
- Hack Tool Apk No Root
- Hack Tools For Pc
- Pentest Tools For Android
- Hacking Apps
- Hacker
- Hacker Tools Online
- Hacker Tools Hardware
- Hacker Tools Linux
- Black Hat Hacker Tools
- Best Hacking Tools 2020
- Pentest Tools For Android
- Hacking Tools Windows
- Hacker Tools For Ios
- Tools For Hacker
- Nsa Hack Tools Download
- Hacker Tools For Windows
- Beginner Hacker Tools
- Pentest Tools Review
- Hacker Tools Free
- Pentest Tools List
- Hack Tools For Ubuntu
- Pentest Tools Alternative
- Hack Tools Mac
- Hacking Tools Name
- Hacking Tools Mac
- Hack And Tools
- Hackrf Tools
- Pentest Tools Nmap
- Hack Tools Mac
- Hacking Tools
- Hacking Tools Windows 10
- Black Hat Hacker Tools
- Pentest Tools Port Scanner
- Pentest Tools Open Source
- How To Hack
- Pentest Tools Nmap
- Pentest Tools Alternative
- Hacking App
- Hacker Tools
- Physical Pentest Tools
- Hacks And Tools
- Hack Tools For Mac
- Pentest Tools For Mac
- How To Make Hacking Tools
- Hacking Tools Github
- Pentest Tools Framework
- New Hacker Tools
- Hacking Tools Name
- How To Install Pentest Tools In Ubuntu
- Pentest Tools Review
- Pentest Tools Github
- Hack Tools
- Pentest Tools Linux
- Hacker Tools 2020
- Pentest Tools Nmap
- Hacker Tools
- Beginner Hacker Tools
- Hacking Tools Usb
- Best Pentesting Tools 2018
- Hack Tools
- Pentest Tools Online
- Usb Pentest Tools
- Tools Used For Hacking
- Pentest Tools Url Fuzzer
- Hacking Tools 2019
Tidak ada komentar:
Posting Komentar