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
- New Hacker Tools
- Physical Pentest Tools
- Tools Used For Hacking
- Hacking Tools For Windows 7
- Pentest Tools For Android
- New Hack Tools
- Hacking Tools
- Pentest Reporting Tools
- Pentest Tools Nmap
- Pentest Tools Online
- Hacking Tools Kit
- Hacking Apps
- Hacker Tools Linux
- Hacking Tools Kit
- Hack Tools For Windows
- Hacker Tools
- Hacks And Tools
- Free Pentest Tools For Windows
- Hack And Tools
- Hacking Tools Download
- Usb Pentest Tools
- Pentest Tools Bluekeep
- Pentest Tools For Mac
- Hacking Tools For Windows 7
- Hacks And Tools
- New Hack Tools
- Hacking Tools For Kali Linux
- Hacking Tools 2019
- Hackers Toolbox
- Hack Rom Tools
- Pentest Tools
- Hack Tools For Ubuntu
- Hack Tools For Games
- Hack Rom Tools
- Hacker Tools For Pc
- Hack Tools Mac
- Hacking Tools 2019
- Install Pentest Tools Ubuntu
- Computer Hacker
- Hack Tools Pc
- Hacking Tools
- Beginner Hacker Tools
- Tools Used For Hacking
- Hack Tool Apk No Root
- Pentest Tools For Mac
- Hacker Tools Online
- Hacking Tools For Kali Linux
- Hacker Tools
- Ethical Hacker Tools
- Black Hat Hacker Tools
- Hack Tools For Ubuntu
- Hacking Tools For Windows Free Download
- How To Hack
- Hacks And Tools
- Hacker
- Wifi Hacker Tools For Windows
- Ethical Hacker Tools
- Termux Hacking Tools 2019
- Wifi Hacker Tools For Windows
- Hacker Security Tools
- Pentest Tools For Android
- Hacker Tools Free
- Hacking Tools Windows
- Hacking Tools Pc
- Hack Tools Online
- Hacker Tools Hardware
- Hacker Tools For Mac
- Hacker Tools Apk Download
- Growth Hacker Tools
- Hack Tool Apk No Root
- Hackers Toolbox
- Pentest Tools Open Source
- Hack App
- Hacker Tools Online
- Hacker Tools 2019
- Pentest Automation Tools
- Hacking Tools Online
- Hack Tools Pc
- Pentest Automation Tools
- How To Hack
- Hacks And Tools
- Pentest Tools Framework
- Pentest Reporting Tools
- Hacker Tools Linux
- Termux Hacking Tools 2019
- Hacker Tools List
- Pentest Tools For Mac
- Hack Apps
- Free Pentest Tools For Windows
- Hacking Tools For Windows Free Download
- How To Hack
- Pentest Tools Url Fuzzer
- Hacking Tools Mac
- Bluetooth Hacking Tools Kali
- Pentest Tools Framework
- Free Pentest Tools For Windows
- Hack Tools For Pc
- Hacking Tools For Windows Free Download
- Pentest Tools Windows
- Hacking Tools Windows 10
- Pentest Tools
- Hack Tool Apk No Root
- Pentest Tools Framework
- Hacker Tools Apk Download
- Hacker Techniques Tools And Incident Handling
- Hacker Tools Online
- Hacking Tools And Software
- Hack Tools For Windows
- Hacker Tools Software
- Hack Tools 2019
- Hacking Tools Usb
- Hacker Tools Online
- Nsa Hack Tools Download
- Free Pentest Tools For Windows
- Hacks And Tools
- What Is Hacking Tools
- Hacker Tool Kit
- What Is Hacking Tools
- Pentest Tools For Android
- Ethical Hacker Tools
- Nsa Hack Tools
- Pentest Tools Tcp Port Scanner
- Hacker Tools Linux
- Hacker Tools Mac
- Hacker Tools Software
- Pentest Tools Windows
- Best Hacking Tools 2019
- Nsa Hack Tools
- Best Hacking Tools 2020
- Pentest Tools Windows
- Hacker Techniques Tools And Incident Handling
- Android Hack Tools Github
- Usb Pentest Tools
- Hacking Tools For Windows
- Hacking Tools And Software
- Hacking Apps
- Blackhat Hacker Tools
- Nsa Hacker Tools
- Hacker
- Hacker Tools Free
- Hacker Tools 2019
- Hacking Tools 2020
- Hacking Tools Kit
No hay comentarios:
Publicar un comentario