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.
Continue reading
- Usb Pentest Tools
- Hacker Tools Hardware
- Nsa Hack Tools
- Tools Used For Hacking
- Hacking Tools And Software
- Hacking Tools Pc
- Hack Tools For Games
- Hacking Tools Hardware
- Hacking Tools Download
- Pentest Tools For Android
- How To Install Pentest Tools In Ubuntu
- Hacks And Tools
- Hacker
- Pentest Tools Free
- Hack Tools
- Hacker Tools Free
- Hacking Apps
- Pentest Tools Download
- Computer Hacker
- Pentest Tools Apk
- Hack App
- Pentest Tools Tcp Port Scanner
- Tools Used For Hacking
- Hacker Tools List
- Hacking Tools Free Download
- Hacking Tools Github
- Best Pentesting Tools 2018
- Hacking Tools Windows
- Black Hat Hacker Tools
- Nsa Hack Tools Download
- Kik Hack Tools
- Hacker Tools 2020
- Hack Tools Github
- Pentest Tools Bluekeep
- Hacker Tools Software
- Black Hat Hacker Tools
- Pentest Tools
- Pentest Tools Nmap
- Hack Tool Apk
- Hack Tools Pc
- Hack Tools Online
- Pentest Tools For Android
- Pentest Tools Kali Linux
- Pentest Tools Online
- Hak5 Tools
- Pentest Tools Linux
- Install Pentest Tools Ubuntu
- Hacker Tool Kit
- Hacker Tools Free
- Hacker Tools For Windows
- Hacking Tools Free Download
- Pentest Tools List
- Hacking Tools And Software
- Hack Tools For Ubuntu
- Nsa Hack Tools Download
- Pentest Tools Website
- Hacking Tools For Windows Free Download
- Hacking Tools Online
- Hacking Tools Hardware
- Hacker Tools 2019
- Github Hacking Tools
- World No 1 Hacker Software
- Hack Tools For Ubuntu
- Hack Tools Github
- Hacker Tools 2019
- Hack Tools For Mac
- Pentest Reporting Tools
- Pentest Tools Android
- Hacking Tools For Pc
- Hacking Tools Download
- Hack App
- Hackers Toolbox
- Hack Tools Github
- Hacker Security Tools
- Hack Rom Tools
- Hack Tools Mac
- Hack Tools Mac
- How To Make Hacking Tools
- Hacks And Tools
- Ethical Hacker Tools
- Nsa Hack Tools
- Hacking Tools Pc
- Hack Tools For Ubuntu
- Hacking Tools Software
- Hacker Tools Linux
- Pentest Tools Android
- Hacking Tools
- Hacker Tools Hardware
- Hack Tools
- Wifi Hacker Tools For Windows
- Pentest Reporting Tools
- Hacker Tools Software
- Hacker Techniques Tools And Incident Handling
- Pentest Tools Download
- Hack Tools For Pc
- Hacking Tools
- Hacks And Tools
- Hacking Tools Usb
- Hacker Tools Github
- Hacker Tools Free
- Pentest Tools Find Subdomains
- Pentest Automation Tools
- Free Pentest Tools For Windows
- Hacking Tools For Windows Free Download
- Hacker Tools Hardware
- Hacking Tools Kit
- Hacker Tools For Mac
- Pentest Tools Online
- Pentest Box Tools Download
- Hack Tools For Mac
- Pentest Tools List
- Usb Pentest Tools
- Pentest Tools For Mac
- New Hacker Tools
- Android Hack Tools Github
- Pentest Tools Download
- Pentest Tools For Ubuntu
- Hacker Tools 2019
- Hackers Toolbox
- Hacking Tools For Kali Linux
- Best Pentesting Tools 2018
- Pentest Reporting Tools
- Physical Pentest Tools
- Pentest Tools Website Vulnerability
- Pentest Tools Download
- World No 1 Hacker Software
- Pentest Tools
- Hack Tools For Windows
- Hacking Tools For Mac
- Hack Tool Apk
- World No 1 Hacker Software
- Hack Tools Mac
- Hacker
- Hacker
- Pentest Tools Url Fuzzer
- Hacker Tools For Ios
- Pentest Reporting Tools
- Hacking Apps
- Hacking Tools For Beginners
- World No 1 Hacker Software
- Hacking Tools For Windows 7
- Termux Hacking Tools 2019
- Hackrf Tools
- What Is Hacking Tools
- Blackhat Hacker Tools
- Hacking Tools Pc
- Hacking Tools For Windows
- Hacker Tools Apk
- Pentest Tools Download
- Hacking Tools For Pc
- How To Make Hacking Tools
- What Are Hacking Tools
- Hacking Tools Software
- Hacker Search Tools
- Hacker Tools Hardware
- Hacker Tools Apk Download
- Pentest Tools For Android
- Hacking App
- Hack Tools Pc
- Best Pentesting Tools 2018
Sem comentários:
Enviar um comentário