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.
More articles
- Hacking Tools Download
- Pentest Tools Review
- Hacking Tools Software
- Best Pentesting Tools 2018
- Best Hacking Tools 2019
- What Are Hacking Tools
- Pentest Tools Tcp Port Scanner
- Hack Tools
- Hack Tools For Mac
- Hacking Tools Hardware
- Hack Tools For Mac
- Black Hat Hacker Tools
- Nsa Hack Tools Download
- Pentest Tools Website Vulnerability
- Growth Hacker Tools
- Hacking Tools Name
- Pentest Tools List
- Hack Tools
- Hacking Tools Hardware
- Pentest Tools Online
- Usb Pentest Tools
- Pentest Tools Port Scanner
- Hacking Tools Windows
- Pentest Tools Framework
- Tools Used For Hacking
- Pentest Tools Kali Linux
- Pentest Box Tools Download
- Hacker
- Pentest Tools Windows
- Best Hacking Tools 2019
- Hacking App
- Hacker Hardware Tools
- Hacking Tools For Windows
- Pentest Tools Windows
- Hack Tools
- Hacking Tools For Kali Linux
- Hack Tools For Games
- Hacking Tools Hardware
- Pentest Tools Open Source
- Hacker Tools Mac
- Tools 4 Hack
- Pentest Tools Nmap
- Pentest Tools Alternative
- Pentest Tools For Ubuntu
- Computer Hacker
- Pentest Tools Github
- Pentest Automation Tools
- Hack Tools For Games
- Pentest Tools For Windows
- Beginner Hacker Tools
- Hacking Tools For Kali Linux
- Pentest Tools Github
- Hacker Tools 2020
- Underground Hacker Sites
- Pentest Recon Tools
- Hacking Tools 2020
- Hacking Tools Windows
- Pentest Tools Open Source
- Game Hacking
- Hack Tools For Windows
- World No 1 Hacker Software
- Pentest Automation Tools
- Hack Tools For Games
- Hack Tools Online
- Game Hacking
- Hacker Tools Windows
- Computer Hacker
- New Hack Tools
- Wifi Hacker Tools For Windows
- Computer Hacker
- Hacking Tools For Pc
- Hacking Tools 2019
- Pentest Tools For Windows
- Pentest Tools Bluekeep
- Hacking Tools Online
- Pentest Tools Free
- Hack Tools For Windows
- Hacker Tools Apk
- Hacking Tools For Beginners
- Pentest Tools
- Pentest Tools Port Scanner
- World No 1 Hacker Software
- Black Hat Hacker Tools
- Hack Tools Pc
- Pentest Tools For Ubuntu
- Hacker Tools For Mac
- Hacking Tools Pc
- Nsa Hack Tools
- Hack Tools
- Best Pentesting Tools 2018
- Hacker Tools For Pc
- Hacking Tools For Mac
- Kik Hack Tools
- Hacking Tools Mac
- Top Pentest Tools
- Nsa Hacker Tools
- Pentest Tools Windows
- Hacker Search Tools
- Hack Tools
- Hackers Toolbox
- Pentest Tools For Ubuntu
- Hack And Tools
Nenhum comentário:
Postar um comentário
Sua PRESENÇA Aqui!