Saturday, January 27, 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 info


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

No comments:

Post a Comment