Friday, June 2, 2023

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. Hacker
  2. Pentest Tools Find Subdomains
  3. Hacker Tools Linux
  4. Hacking Tools For Windows
  5. Hacking Tools 2020
  6. Hack Tools
  7. Pentest Tools Github
  8. Hacker Tools For Windows
  9. Pentest Tools Kali Linux
  10. Hak5 Tools
  11. Easy Hack Tools
  12. Pentest Tools Open Source
  13. Pentest Tools For Android
  14. Hack Tools
  15. Hacker Tools Github
  16. Blackhat Hacker Tools
  17. Hack Tool Apk
  18. Pentest Tools Apk
  19. Hacking App
  20. Pentest Tools Open Source
  21. Hacking Tools Windows 10
  22. Kik Hack Tools
  23. Hacker Tools Free Download
  24. Pentest Tools Review
  25. Pentest Tools Github
  26. Hacks And Tools
  27. Hack Tools Github
  28. Game Hacking
  29. How To Install Pentest Tools In Ubuntu
  30. Pentest Tools Website Vulnerability
  31. Hacker Tools For Windows
  32. Pentest Tools Windows
  33. Hacker Search Tools
  34. Hacker Tool Kit
  35. Hacking Tools Pc
  36. Hacker Tools For Ios
  37. Pentest Tools Website
  38. Hack Tools For Games
  39. Hacking Tools Download
  40. Hacker Tools Software
  41. Bluetooth Hacking Tools Kali
  42. Pentest Tools Open Source
  43. Pentest Tools Find Subdomains
  44. Pentest Tools Github
  45. Hacker Tools Online
  46. Hacker Tools Linux
  47. Pentest Tools Online
  48. Hacker Tools Windows
  49. Github Hacking Tools
  50. Hacking Tools For Games
  51. Physical Pentest Tools
  52. Hack Tools For Pc
  53. Hackers Toolbox
  54. Hack And Tools
  55. Pentest Tools For Windows
  56. Hackrf Tools
  57. Underground Hacker Sites
  58. Hack Tools Download
  59. Black Hat Hacker Tools
  60. Hacker Tools For Ios
  61. Pentest Tools Website Vulnerability
  62. Easy Hack Tools
  63. New Hack Tools
  64. Hacking Tools Kit
  65. Nsa Hack Tools Download
  66. Pentest Tools Windows
  67. World No 1 Hacker Software
  68. Hacker Tools 2020
  69. Hacker Tools Github
  70. Hackrf Tools
  71. Top Pentest Tools
  72. Hacking Tools And Software
  73. Hacking Tools Windows 10
  74. Pentest Tools Website
  75. New Hack Tools
  76. Hacker Tools For Pc
  77. Hacker Hardware Tools
  78. Hackers Toolbox
  79. Pentest Tools Free
  80. Hacker Tools List
  81. Hacker Search Tools
  82. Hacking Tools Windows 10
  83. Pentest Tools Review
  84. Hacking Tools Pc
  85. Hacking Tools Download
  86. Hackers Toolbox
  87. Hack Tools For Ubuntu
  88. Best Hacking Tools 2020
  89. How To Make Hacking Tools
  90. Easy Hack Tools
  91. Pentest Box Tools Download
  92. Top Pentest Tools
  93. Hacking Apps
  94. World No 1 Hacker Software
  95. Best Pentesting Tools 2018
  96. Pentest Tools For Android
  97. Pentest Tools Download
  98. Pentest Tools For Ubuntu
  99. Kik Hack Tools

No comments:

Post a Comment