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
- Hacking Tools Windows 10
- Ethical Hacker Tools
- Hack And Tools
- Hack Apps
- Hacking Tools Usb
- Android Hack Tools Github
- Hacker Techniques Tools And Incident Handling
- Hacker Tools Apk Download
- Hacking Tools 2020
- Pentest Tools Port Scanner
- Hacking Tools Usb
- Hacking Tools For Kali Linux
- Pentest Reporting Tools
- Hacker Tools Apk Download
- Hacker Tools Windows
- Nsa Hack Tools
- Hacker Tools List
- Termux Hacking Tools 2019
- Hack Website Online Tool
- Pentest Tools Windows
- Hack Website Online Tool
- Hack Tools For Pc
- Pentest Tools Website
- Hack Tools 2019
- Hacker Search Tools
- Hacking Tools Windows 10
- Hacks And Tools
- Hacker Tools Software
- Hacker Tools Apk Download
- Hacking Tools For Windows
- Hack App
- Best Pentesting Tools 2018
- Hacker Tools For Ios
- Hack Tools Pc
- Pentest Tools Linux
- Ethical Hacker Tools
- Pentest Tools Website
- Pentest Tools Tcp Port Scanner
- Hacker
- Hacking Tools For Windows Free Download
- Hacking Tools Mac
- Hacking Tools Free Download
- Top Pentest Tools
- Hacking Tools Online
- Hacker Search Tools
- Hacking Tools 2020
- Growth Hacker Tools
- Hacking Apps
- Hacking Tools For Beginners
- Hacking Tools For Windows
- Hacking Tools Download
- Hack Tools Github
- Kik Hack Tools
- Hack Apps
- Hack Website Online Tool
- Pentest Tools For Android
- How To Make Hacking Tools
- Pentest Tools Alternative
- Hacking Tools Download
- Hacking Tools Free Download
- Hacking Tools 2019
- How To Install Pentest Tools In Ubuntu
- Hacking App
- Hack Tools For Pc
- Hack Tools
- Pentest Tools Linux
- Hacker Tools Software
- Pentest Tools Alternative
- Hacker Tools Hardware
- Ethical Hacker Tools
- Hacking Tools Github
- Pentest Tools Linux
- Pentest Tools For Mac
- Hacker Tools Hardware
- Pentest Tools Github
- Hack Tools For Mac
- Free Pentest Tools For Windows
- Hacking Tools Windows 10
- Pentest Tools Windows
- Tools For Hacker
- Hacker Tools For Ios
- Hack Tools Pc
- Pentest Tools Windows
- Hacking Tools Github
- Hacking Tools
- Hacking Apps
- Blackhat Hacker Tools
- Hacking Tools Download
- Hacking Tools Name
- Underground Hacker Sites
- Ethical Hacker Tools
- Game Hacking
- What Is Hacking Tools
- Pentest Tools Review
- Bluetooth Hacking Tools Kali
- Hacker Tools Software
- Pentest Tools Framework
- Pentest Tools For Android
- Best Hacking Tools 2020
- Hacking Tools For Windows 7
- Tools Used For Hacking
- Hacking Tools For Windows Free Download
- Hacker Tools Apk Download
- Tools For Hacker
- Hacker Tools Github
- Pentest Tools For Windows
- New Hacker Tools
- Hack Apps
- Hacker Tools Github


No comments:
Post a Comment