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 news
- Hacking Tools Hardware
- Hack Tools Github
- Hacking Tools Pc
- Tools Used For Hacking
- Pentest Tools Port Scanner
- Pentest Tools Url Fuzzer
- Pentest Tools For Mac
- Best Hacking Tools 2019
- Pentest Tools Online
- Hacking Tools Mac
- Pentest Tools Framework
- Pentest Tools Nmap
- Hacker Tools Apk
- Pentest Tools Website Vulnerability
- Hacking Tools For Windows
- Hacking Tools Mac
- Hacker Security Tools
- Hacker Tools Software
- Hack Tools For Mac
- Hacker Tools Linux
- Hacking Tools For Windows Free Download
- Hacker Security Tools
- Hacker Tools Apk Download
- Tools 4 Hack
- Hacker Tool Kit
- Hacker Tools Apk Download
- Pentest Tools Open Source
- Best Hacking Tools 2020
- What Are Hacking Tools
- Hacking Tools Name
- Hacking Tools Free Download
- Hacking Tools 2019
- Hacking Tools For Mac
- How To Install Pentest Tools In Ubuntu
- Hacking Tools Usb
- Hacking Tools And Software
- Usb Pentest Tools
- Hacker Tools Windows
- Hacker Tools For Ios
- Hacker Tools For Ios
- Hack And Tools
- Hacker Tools List
- Hacker Tools
- Hacker Tools Software
- Hacker Tools Mac
- Hack Tool Apk No Root
- Hacker Tools Windows
- Pentest Tools Apk
- Pentest Tools Nmap
- Hacker Tools For Ios
- Hacker Tools Online
- Hacking Apps
- Hacker
- Blackhat Hacker Tools
- Free Pentest Tools For Windows
- Hacking Tools Download
- Hacker
- Hack Tools Online
- Hack Tools Github
- Hacking Tools Pc
- Tools 4 Hack
- Hacking Tools Download
- How To Install Pentest Tools In Ubuntu
- Pentest Tools Linux
- Hak5 Tools
- New Hacker Tools
- Pentest Tools Alternative
- Game Hacking
- Pentest Tools Tcp Port Scanner
- Hacking Tools Mac
- Top Pentest Tools
- Pentest Tools Subdomain
- Pentest Tools For Android
- Pentest Reporting Tools
- Pentest Automation Tools
- Hack App
- Hacking Tools Name
- Hacker Security Tools
- Hack Tools
- Hacker Tools For Ios
- Pentest Tools Android
- Hacker Tools Apk Download
- Hacking Tools For Games
- Pentest Tools Website Vulnerability
- Hacking Tools For Windows 7
- Hacking Tools 2019
- Hacker Search Tools
- Hacker Hardware Tools
- Hack Tools Download
- Ethical Hacker Tools
- Hacker Hardware Tools
- Hacking Tools 2019
- Growth Hacker Tools
- Hackrf Tools
- Hacker Tools For Mac
- Hacking Tools Pc
- Best Hacking Tools 2020
- New Hack Tools
- Hacker Tool Kit
- Hacking Tools Online
- Hacking Tools For Kali Linux
- Hacks And Tools
- Hacking Tools Usb
- Hack Tool Apk
- Hacker Tools Github
- Hacking Tools Usb
- Hacking Tools
- Hack Tools Pc
- Hacker Tools Github
- Hacks And Tools
- How To Hack
- Hackers Toolbox
- Install Pentest Tools Ubuntu
- What Is Hacking Tools
- Pentest Tools
- New Hacker Tools
- Hack Apps
- Tools For Hacker
- Hacker Tools For Ios
- Hacker Tools Github
- Hacking Tools Kit
- Hacker Tools For Ios
- Hack Tools For Windows
- Pentest Tools
- Tools 4 Hack
- Hack Tools Pc
- Tools 4 Hack
- Pentest Tools Url Fuzzer
- Hacking Tools For Beginners
- Hacking Tools 2019
- Hacking Tools For Beginners
- Best Pentesting Tools 2018
- Growth Hacker Tools
- Hackrf Tools
- Pentest Tools
- Hacker Tools Hardware
- Tools Used For Hacking
- New Hacker Tools
- Pentest Tools Url Fuzzer
- Pentest Tools For Windows
- Computer Hacker
- Hacker Tools Online
- Pentest Tools Bluekeep
- Pentest Tools Review
- Hack Rom Tools
- Pentest Tools Windows
- Android Hack Tools Github
- Physical Pentest Tools
- Hacker Tools Free
- Hacker Tools Apk
- Hacking Tools Github
- Easy Hack Tools
- Pentest Tools Find Subdomains
- Hacking Tools 2019
- Hacker Tools 2019
- Github Hacking Tools
- Hack Tools For Mac
- Bluetooth Hacking Tools Kali
0 comentários:
Postar um comentário