How To Connect Database With PHP | Cool Interface Software | Tutorial 2

segunda-feira, 29 de maio de 2023


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 news


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

0 comentários: