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 posts
- Blackhat Hacker Tools
- Hack Tool Apk
- World No 1 Hacker Software
- Hack Tools For Games
- Hacker Security Tools
- Pentest Tools Online
- Hacking Tools And Software
- Top Pentest Tools
- Hack Apps
- Hacker Tools
- Hack Tools Github
- Hacking Tools Hardware
- Pentest Tools Free
- Hacker Tools List
- Beginner Hacker Tools
- Hack Tools
- Hacking Tools
- Hacking Tools Name
- Pentest Tools Apk
- Hackers Toolbox
- Pentest Tools Apk
- Pentest Tools Nmap
- Hack Tools
- Hack App
- Easy Hack Tools
- Hak5 Tools
- Hacking Tools For Kali Linux
- Hack App
- Hacker Search Tools
- Hacker Tools
- Hack Tool Apk
- Pentest Tools Url Fuzzer
- Hacker Tools Online
- Hacker Tools Apk
- Hacker Tools Free Download
- Nsa Hacker Tools
- Hacker Techniques Tools And Incident Handling
- Hack Tools Download
- Blackhat Hacker Tools
- Easy Hack Tools
- Hack Website Online Tool
- Hacking App
- Hack Tools Mac
- Hacking Tools Free Download
- Hackrf Tools
- Hack App
- Hacker Tools 2019
- Hacking Tools Software
- Pentest Tools For Ubuntu
- Hacking Tools Windows
- Nsa Hacker Tools
- Pentest Tools Review
- Hacker Tools Free
- Pentest Tools For Android
- Hacker Tools For Mac
- Game Hacking
- Tools 4 Hack
- Hacking Tools 2020
- Pentest Tools Open Source
- Hacker Tools For Pc
- Hacking Tools Hardware
- Black Hat Hacker Tools
- Pentest Tools For Mac
- Hak5 Tools
- Pentest Tools Subdomain
- World No 1 Hacker Software
- Game Hacking
- Pentest Tools Tcp Port Scanner
- Hacking Tools Name
- Hacking Tools Hardware
- Pentest Tools List
- Black Hat Hacker Tools
- Hacking Tools
- Pentest Tools Kali Linux
- Pentest Tools Nmap
- Black Hat Hacker Tools
- Hack Tools
- Pentest Tools Find Subdomains
- Hacking Tools Hardware
- Hack Tool Apk
- Hacking Tools And Software
- Hacker Tools Apk Download
No hay comentarios:
Publicar un comentario
Nota: solo los miembros de este blog pueden publicar comentarios.