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 info
- Physical Pentest Tools
- Hacker Tool Kit
- Tools Used For Hacking
- Pentest Tools Website
- Underground Hacker Sites
- How To Install Pentest Tools In Ubuntu
- Tools For Hacker
- Hacking Tools Mac
- Hack Tools For Pc
- Hacker Tools For Mac
- Free Pentest Tools For Windows
- Pentest Tools Review
- Hacker Tools Software
- Pentest Tools For Windows
- Hack Tools Mac
- Hacking Tools Usb
- Hackrf Tools
- Pentest Tools Website
- Hacking Tools Free Download
- Hacking Tools For Kali Linux
- Pentest Tools Bluekeep
- Pentest Tools Android
- World No 1 Hacker Software
- Hacker Tools For Windows
- Hack Tool Apk No Root
- Hacker Techniques Tools And Incident Handling
- Hack Rom Tools
- Hacking Tools For Pc
- Hacker Tools Apk Download
- Hacker Tools Hardware
- Pentest Tools Tcp Port Scanner
- Hack Tools
- Hack Tools
- Pentest Tools Bluekeep
- Pentest Tools Android
- Hacker Hardware Tools
- Hacker Search Tools
- Pentest Tools Website
- Free Pentest Tools For Windows
- Pentest Tools For Mac
- Hacking Tools Windows
- Hacker Tools Github
- Pentest Tools Online
- Ethical Hacker Tools
- Install Pentest Tools Ubuntu
- Pentest Tools Online
- Kik Hack Tools
- Pentest Recon Tools
- Hacker Tools Online
- Physical Pentest Tools
- Nsa Hacker Tools
- Hacker Tools 2019
- Hackers Toolbox
- Bluetooth Hacking Tools Kali
- Hacks And Tools
- What Are Hacking Tools
- Best Pentesting Tools 2018
- Hackrf Tools
- Pentest Tools Open Source
- Hack Tools For Ubuntu
- Pentest Tools List
- Pentest Tools Tcp Port Scanner
- Hacking Tools Mac
- Best Hacking Tools 2019
- Hack Tools For Ubuntu
- Tools 4 Hack
- Ethical Hacker Tools
- Pentest Tools Apk
- Hack Tool Apk No Root
- Pentest Reporting Tools
- Hacker Tools List
- Hacking Tools Pc
- Pentest Tools Android
- Physical Pentest Tools
- Hackrf Tools
- Growth Hacker Tools
- Hacking Tools Windows 10
- Hacker Tools Apk
- Android Hack Tools Github
- Hackers Toolbox
- What Are Hacking Tools
- Hacking Tools Download
- Hacking Tools And Software
- Hacking Tools Name
- Easy Hack Tools
- Hacker Tools Apk
- Free Pentest Tools For Windows
- Hacker Tools Github
- Hacking Tools Kit
- Hacker Tools For Windows
- Hacking Tools Download
- Pentest Reporting Tools
- Pentest Recon Tools
- Pentest Tools Open Source
- Hacker Security Tools
- Hacking Tools Online
- Pentest Tools Download
- Pentest Automation Tools
- Hacker Tools 2019
- Hack Tools For Ubuntu
- Best Hacking Tools 2019
No comments:
Post a Comment