Thursday, January 25, 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.



Continue reading


  1. Pentest Tools Url Fuzzer
  2. Hacking Tools Online
  3. Termux Hacking Tools 2019
  4. Tools Used For Hacking
  5. Pentest Tools For Mac
  6. Top Pentest Tools
  7. Hack Tool Apk No Root
  8. Hacks And Tools
  9. Hacker Tools Online
  10. Hack Tool Apk No Root
  11. New Hack Tools
  12. Pentest Tools Bluekeep
  13. Hack Tools Mac
  14. Hack Tools Download
  15. Free Pentest Tools For Windows
  16. Tools 4 Hack
  17. Hacking Tools For Kali Linux
  18. Underground Hacker Sites
  19. Hack Tools Download
  20. Nsa Hack Tools Download
  21. Hacking Tools Windows
  22. Pentest Tools Framework
  23. Pentest Tools List
  24. Physical Pentest Tools
  25. Hack Tools
  26. Hacker Tools Linux
  27. Pentest Tools Subdomain
  28. Hackrf Tools
  29. Hacking Tools For Windows
  30. Hack Apps
  31. New Hacker Tools
  32. Hacker Tool Kit
  33. Hacker Tool Kit
  34. Github Hacking Tools
  35. Pentest Tools Find Subdomains
  36. New Hack Tools
  37. Hack Tool Apk
  38. Growth Hacker Tools
  39. Hacker Tools Apk Download
  40. Pentest Tools Tcp Port Scanner
  41. Nsa Hack Tools
  42. Pentest Tools For Android
  43. Pentest Tools For Ubuntu
  44. Hacker Tools For Windows
  45. Game Hacking
  46. How To Install Pentest Tools In Ubuntu
  47. Pentest Tools Open Source
  48. Hack Tool Apk No Root
  49. Hack Apps
  50. Hacker Tools Mac
  51. Pentest Box Tools Download
  52. Pentest Tools Find Subdomains
  53. Pentest Tools Url Fuzzer
  54. Top Pentest Tools
  55. Android Hack Tools Github
  56. Hack Tool Apk
  57. Wifi Hacker Tools For Windows
  58. Hacker Hardware Tools
  59. Hacker Tools Apk Download
  60. Tools For Hacker
  61. Pentest Tools Windows
  62. Hacker Tools For Ios
  63. Hacking Tools 2019
  64. Hacker Security Tools
  65. Hacking Tools And Software
  66. Hack Tool Apk No Root
  67. Android Hack Tools Github
  68. Tools For Hacker
  69. Wifi Hacker Tools For Windows
  70. Hacking Tools Name
  71. Game Hacking
  72. Pentest Tools For Android
  73. Nsa Hack Tools Download
  74. Hack App
  75. Tools For Hacker
  76. Pentest Automation Tools
  77. Hacking Tools Windows
  78. Underground Hacker Sites
  79. Hack Tools Pc
  80. Hack App
  81. Hack Rom Tools

No comments:

Post a Comment