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 information
- Hack Tool Apk
- Hacker Tools Windows
- Hacker Tools For Ios
- Pentest Tools Review
- Hacking Tools Free Download
- Pentest Tools Bluekeep
- Hacker Tools For Windows
- Hack Tools Pc
- Hacking Tools Download
- Hacker Techniques Tools And Incident Handling
- Pentest Tools Windows
- Pentest Tools For Ubuntu
- Best Hacking Tools 2020
- Hacking Tools Name
- Underground Hacker Sites
- Underground Hacker Sites
- Pentest Box Tools Download
- Black Hat Hacker Tools
- Kik Hack Tools
- Hacking Tools Mac
- Hacker Tools Github
- Bluetooth Hacking Tools Kali
- Termux Hacking Tools 2019
- Hacker Tools
- Pentest Tools Port Scanner
- Pentest Tools Download
- Hacking Tools For Windows
- Black Hat Hacker Tools
- Hacker Tools List
- Black Hat Hacker Tools
- Game Hacking
- Game Hacking
- Hackrf Tools
- Pentest Tools Open Source
- Hacker Tools For Mac
- Pentest Reporting Tools
- Pentest Tools Tcp Port Scanner
- How To Install Pentest Tools In Ubuntu
- Hack Tool Apk No Root
- Pentest Tools Alternative
- Pentest Tools Apk
- Hacking Tools For Pc
- Hacking Tools For Windows
- Tools For Hacker
- Hacker Tools Mac
- Hacker Techniques Tools And Incident Handling
- Hacker Tools 2020
- Hacker Tools Apk Download
- Hackers Toolbox
- New Hacker Tools
- Hacking Tools For Beginners
- Pentest Tools Nmap
- Hacking Tools
- Hack Rom Tools
- Hacker Tools Windows
- Hacking Tools For Windows Free Download
- Pentest Tools Linux
- Tools 4 Hack
- Hacker Tools Apk Download
- Hacking Tools For Pc
- Hacking Tools Online
- Hacking Tools Hardware
- Hacking Tools Free Download
- Hacking Tools
- Hacker Tools Linux
- Kik Hack Tools
- Hacking Tools And Software
- Hak5 Tools
- Pentest Tools Windows
- Hacker Tool Kit
- Pentest Tools For Ubuntu
- Free Pentest Tools For Windows
- Hacker Tool Kit
- Hack Rom Tools
- What Is Hacking Tools
- Hacker Tools Mac
- Best Pentesting Tools 2018
- Pentest Tools Nmap
- Pentest Tools Alternative
- Tools For Hacker
- Pentest Recon Tools
- Hacking App
- Hacking Apps
- Hack Tools 2019
- Hack Tools For Games
- Github Hacking Tools
- Pentest Tools Open Source
- Hacker Tools Apk
- Hacking Tools
- Hack Website Online Tool
- Hacking Tools 2020
- Pentest Tools Android
- What Are Hacking Tools
- Pentest Recon Tools
- Pentest Tools Linux
- Hacking Tools For Games
- Hack Tools For Pc
- Hacker Tools Windows
- Hacker Tools For Ios
- Hacking Tools
- Computer Hacker
- Pentest Tools Framework
- Pentest Tools Port Scanner
- Computer Hacker
- Best Hacking Tools 2020
- Hacker Tools For Pc
- Pentest Tools Port Scanner
- Hackrf Tools
- Pentest Automation Tools
- New Hacker Tools
- Hacker Tools Github
- Install Pentest Tools Ubuntu
- Hack Apps
- Hacking Tools Mac
- Black Hat Hacker Tools
- Hacking Tools Usb
- Wifi Hacker Tools For Windows
- New Hacker Tools
- Hack Tools
- Top Pentest Tools
- Pentest Recon Tools
- Pentest Tools Tcp Port Scanner
- Usb Pentest Tools
- Pentest Box Tools Download
- Android Hack Tools Github
- Pentest Tools For Windows
- Nsa Hack Tools
- Best Hacking Tools 2020
- Hacking Tools For Windows 7
- How To Hack
- Hack Website Online Tool
- Pentest Tools Review
- Top Pentest Tools
- Hackers Toolbox
- Hack Website Online Tool
- Pentest Tools Subdomain
- Hacker Tools List
- Underground Hacker Sites
- Pentest Tools Online
- Pentest Tools Linux
- Pentest Tools List
- Hacker Tools Mac
- Usb Pentest Tools
- Hack Tools For Games
- Hacking Tools 2020
- Pentest Tools Alternative
- Hacking Tools For Beginners
- Hacker Techniques Tools And Incident Handling
- Hacking Tools 2019
- Pentest Tools Url Fuzzer
- Hak5 Tools
- Tools 4 Hack
- Black Hat Hacker Tools
- Hacker Tools Windows
Inga kommentarer:
Skicka en kommentar