Sunday, January 21, 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.



More information


  1. Hacking Tools For Mac
  2. How To Install Pentest Tools In Ubuntu
  3. Nsa Hacker Tools
  4. Hacking Tools For Windows
  5. Hack Tools
  6. Pentest Tools Open Source
  7. Hacker
  8. Hack Tools Mac
  9. Install Pentest Tools Ubuntu
  10. Hacking Tools For Pc
  11. Hacker Tools Github
  12. What Are Hacking Tools
  13. Blackhat Hacker Tools
  14. Pentest Tools Find Subdomains
  15. Hacker Tools Github
  16. Pentest Tools For Android
  17. Hackrf Tools
  18. Hacker Tools Apk
  19. Pentest Tools Url Fuzzer
  20. Hacking Tools For Windows Free Download
  21. Hack Tools For Pc
  22. Pentest Tools Nmap
  23. Hacker Tools
  24. Pentest Recon Tools
  25. Pentest Tools Review
  26. Hacking Tools Windows
  27. Pentest Tools Apk
  28. Pentest Tools For Mac
  29. Pentest Tools Framework
  30. Nsa Hack Tools
  31. Nsa Hack Tools
  32. Hacks And Tools
  33. Pentest Tools Bluekeep
  34. World No 1 Hacker Software
  35. Pentest Tools Find Subdomains
  36. Hack Tools 2019
  37. Pentest Tools Tcp Port Scanner
  38. Pentest Tools For Ubuntu
  39. Hacking Tools For Windows
  40. Hack Tools
  41. Github Hacking Tools
  42. New Hacker Tools
  43. Hack And Tools
  44. Hack Rom Tools
  45. Hacking Tools Mac
  46. Pentest Automation Tools
  47. Hacker Search Tools
  48. Pentest Tools Nmap
  49. Hack Tools Download
  50. Hacker Techniques Tools And Incident Handling
  51. Nsa Hack Tools Download
  52. Pentest Tools Free
  53. Pentest Tools Kali Linux
  54. Hack Tool Apk No Root
  55. Hacking Tools For Windows
  56. Pentest Tools Tcp Port Scanner
  57. Hacking Tools
  58. Hack Tool Apk No Root
  59. Hacker Tools Linux
  60. Hacking Tools Free Download
  61. Hack Tools Github
  62. Hacker Tools Free Download
  63. Pentest Reporting Tools
  64. Tools 4 Hack
  65. Hacker Tool Kit
  66. Hacking Tools For Windows Free Download
  67. Hack Tool Apk No Root
  68. How To Install Pentest Tools In Ubuntu
  69. Hacking Tools Mac
  70. Pentest Tools Bluekeep
  71. Hacking Tools Online
  72. Hack Tools For Pc
  73. Pentest Tools Subdomain
  74. Hacker Tools
  75. Tools Used For Hacking
  76. Hack Tools Mac
  77. Nsa Hack Tools
  78. Hacker Tools Apk
  79. Hack Tools For Ubuntu
  80. Hacker Tools For Windows
  81. Physical Pentest Tools
  82. Hacks And Tools
  83. Pentest Tools
  84. Termux Hacking Tools 2019
  85. Pentest Reporting Tools
  86. Hacking Tools Free Download
  87. Hacker Tools Linux
  88. Hack Tool Apk
  89. Pentest Tools Apk
  90. Pentest Box Tools Download
  91. Hacker Tools For Mac
  92. Hack Tools
  93. Github Hacking Tools
  94. Wifi Hacker Tools For Windows
  95. Hackers Toolbox
  96. How To Make Hacking Tools
  97. Hacker Tool Kit
  98. Underground Hacker Sites
  99. Pentest Tools Download
  100. Top Pentest Tools
  101. Ethical Hacker Tools
  102. Pentest Reporting Tools
  103. Pentest Recon Tools
  104. Hacking Tools Kit
  105. Hacking Tools Software
  106. Tools Used For Hacking
  107. Hacking Tools 2020
  108. Pentest Recon Tools
  109. Nsa Hacker Tools
  110. Hacking Tools For Windows Free Download
  111. Pentest Tools Framework
  112. Hacking Tools Github
  113. Hacker Tool Kit
  114. Android Hack Tools Github
  115. Best Pentesting Tools 2018
  116. Pentest Tools
  117. Pentest Tools Alternative
  118. Underground Hacker Sites
  119. Top Pentest Tools
  120. Hacking Tools Github
  121. Underground Hacker Sites
  122. Tools For Hacker
  123. Hackers Toolbox
  124. Hacking Tools Windows 10
  125. Hacker Tools
  126. Pentest Tools Alternative
  127. Game Hacking
  128. Hacking Tools Hardware
  129. Hacker Tools For Pc
  130. Hacker Tools Free
  131. Hacking Tools Download
  132. Pentest Tools
  133. Pentest Tools Windows
  134. Hack Tool Apk
  135. Hacker Tool Kit
  136. Hack Tools For Ubuntu
  137. Hacking Tools For Beginners
  138. Hack Website Online Tool
  139. Pentest Tools Linux
  140. Hack Tools
  141. Hacking Tools Mac
  142. Hak5 Tools
  143. Hack Tools For Mac
  144. Hacking Tools Free Download
  145. Beginner Hacker Tools
  146. Pentest Tools Port Scanner
  147. Hacker Tools Apk Download
  148. Hacker Tools Windows
  149. Hack Tools For Games
  150. Pentest Tools For Android
  151. Hacker Hardware Tools
  152. Hacker Tools Online
  153. Hacking Tools And Software
  154. Best Hacking Tools 2019
  155. Hacking Tools Windows 10
  156. Hacking Tools 2020
  157. Hack Tools For Windows
  158. Hacking Tools Online

No comments:

Post a Comment