GET PAID

$1,000,000 CHALLENGE

BUY OR SELL LIBERTY RESERVE

Naira4Dollar

Saturday, January 20, 2024

How To Connect Database With PHP | Cool Interface Software | Tutorial 2


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 links

  1. Best Hacking Tools 2019
  2. Hacking Apps
  3. Hacker Tools For Ios
  4. Best Hacking Tools 2020
  5. Pentest Tools For Mac
  6. Pentest Tools Android
  7. Hack Website Online Tool
  8. Tools Used For Hacking
  9. Hacker Tools Windows
  10. Hacking Tools Windows
  11. Hacking Tools Online
  12. Hacking Tools For Pc
  13. Hacking Tools For Pc
  14. Hacking Tools For Kali Linux
  15. Nsa Hack Tools Download
  16. Pentest Reporting Tools
  17. Pentest Tools Review
  18. Hack Tools Pc
  19. Ethical Hacker Tools
  20. Hack Tools Online
  21. Hack Website Online Tool
  22. Hacking Tools Mac
  23. World No 1 Hacker Software
  24. Hacking Tools Windows
  25. Pentest Tools Nmap
  26. Easy Hack Tools
  27. Hack Tools 2019
  28. Hacker Tools List
  29. Physical Pentest Tools
  30. Hack Tools Download
  31. How To Make Hacking Tools
  32. Hacking Tools Github
  33. Hacking Tools Kit
  34. Hack Apps
  35. Hacker Tools Mac
  36. Hack App
  37. Hackrf Tools
  38. Pentest Tools Kali Linux
  39. Hacking Tools For Windows 7
  40. Hacking Tools Free Download
  41. Hack Tools Online
  42. Hacking Tools Usb
  43. Hacker Tools Free Download
  44. Hacking Tools 2019
  45. How To Hack
  46. Pentest Tools Download
  47. Hack Tools For Mac
  48. Hack Tools Pc
  49. Hack Rom Tools
  50. Hacker Tools
  51. Pentest Tools Url Fuzzer
  52. Pentest Tools Apk
  53. Pentest Tools Alternative
  54. Hack Tool Apk No Root
  55. Wifi Hacker Tools For Windows
  56. Hacker Hardware Tools
  57. Hacking Tools Hardware
  58. Pentest Tools Nmap
  59. Hack Tools For Games
  60. Hacks And Tools

No comments:

Post a Comment

WE BUY YOUR LIBERTY RESERVE AND DEPOSIT DIRECTLY INTO YOUR BANK ACCOUNT(NO STORIES)

Naira4Dollar