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

No comments:

Post a Comment