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.
Read more
- Hacking Tools Download
- Hacking Tools Name
- Hacking Tools Download
- Hacker Tools Online
- Hack Tools Github
- World No 1 Hacker Software
- Hacker Tools For Pc
- Hacking Apps
- How To Install Pentest Tools In Ubuntu
- Hacking Tools For Windows Free Download
- Hacker Tools Online
- Pentest Tools Review
- Hacking Tools Free Download
- Hackers Toolbox
- Easy Hack Tools
- Pentest Tools Bluekeep
- Beginner Hacker Tools
- Hack Tools
- Hacker Tools Hardware
- Pentest Tools Linux
- Hacking Tools For Games
- Hacking Tools For Games
- Pentest Tools Website Vulnerability
- Hacker Hardware Tools
- Hack Tools
- Pentest Tools Port Scanner
- Pentest Tools Website
- Hacking Tools For Beginners
- Pentest Tools Free
- New Hacker Tools
- Pentest Tools For Ubuntu
- Hack Tools 2019
- How To Hack
- Hack Tools Online
- What Is Hacking Tools
- Hacking Tools Windows
- Pentest Tools
- Hacker Tools Online
- Pentest Tools Apk
- Best Pentesting Tools 2018
- World No 1 Hacker Software
- Pentest Tools Framework
- Pentest Tools Windows
- Hack Tools Download
- Hacks And Tools
- Blackhat Hacker Tools
- Computer Hacker
- Hacker Tools For Ios
- Hacker Tools For Mac
- Pentest Tools Download
- Hack Apps
- Hack Tools Download
- Hack Tool Apk No Root
- Hacker Tools For Ios
- Hack Tool Apk No Root
- Pentest Tools Website
- Hacking App
- Hacker Tools For Ios
- Pentest Tools Windows
- Hacking Tools Usb
- Pentest Tools Linux
- Hack Tools For Windows
- Hack Tools For Mac
- Hack Tool Apk
- Pentest Tools Free
- How To Install Pentest Tools In Ubuntu
- Hacker Tools Online
- Hacking Tools For Pc
- Hacker Tools Mac
- World No 1 Hacker Software
- Hacker Tools Hardware
- Hack And Tools
- Physical Pentest Tools
- Pentest Tools Alternative
- Hacking App
- Hack Tools For Games
- Hacker Hardware Tools
- Best Pentesting Tools 2018
- How To Hack
- Pentest Tools Kali Linux
- Pentest Tools Port Scanner
- How To Make Hacking Tools
- Hacker Tools Free Download
- Hak5 Tools
- Hack Tool Apk No Root
- Hack Tools For Games
- Hacker Tools Hardware
- Hacking Tools Free Download
- Tools For Hacker
- Hacking App
- Best Hacking Tools 2019
- Hack Website Online Tool
- Nsa Hacker Tools
- Usb Pentest Tools
- Pentest Tools For Windows
- Hacking Tools For Mac
- Hacking Tools Hardware
- Github Hacking Tools
- Hack Tools
- Hacking Tools 2020
- Tools 4 Hack
- Pentest Tools Nmap
- Easy Hack Tools
- Pentest Tools Github
- Easy Hack Tools
- Hack Tools For Ubuntu
- Top Pentest Tools
- Nsa Hack Tools Download
- Hack Tools Mac
- Best Pentesting Tools 2018
- Pentest Tools Port Scanner
- New Hacker Tools
- Hacks And Tools
- Ethical Hacker Tools
Tiada ulasan:
Catat Ulasan