////

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

0 Reactions to this post

Add Comment

    Post a Comment