Selasa, 23 Januari 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. Hack App
  2. What Is Hacking Tools
  3. Pentest Tools List
  4. Hacker Search Tools
  5. Hack Tools For Games
  6. Hack Tools For Games
  7. Hack Rom Tools
  8. Hacking Tools Mac
  9. Hacking Tools For Windows 7
  10. Pentest Tools Open Source
  11. Hack Tools Online
  12. Hack Tools 2019
  13. Hacking Tools Windows 10
  14. Beginner Hacker Tools
  15. Hack Rom Tools
  16. Usb Pentest Tools
  17. Underground Hacker Sites
  18. Wifi Hacker Tools For Windows
  19. Hacker Tool Kit
  20. Hack Tools
  21. Hacker Tools Hardware
  22. Hacking Tools For Mac
  23. Pentest Tools Bluekeep
  24. What Are Hacking Tools
  25. Github Hacking Tools
  26. Hacker Tools Software
  27. Termux Hacking Tools 2019
  28. Pentest Recon Tools
  29. Hacker Hardware Tools
  30. Pentest Tools Linux
  31. Underground Hacker Sites
  32. Best Hacking Tools 2019
  33. Hacker
  34. Hacking Tools 2019
  35. Hak5 Tools
  36. Github Hacking Tools
  37. Pentest Tools Online
  38. Hacking Tools Hardware
  39. Hack Tools For Ubuntu
  40. Pentest Tools Download
  41. How To Make Hacking Tools
  42. Hacker Tools Linux
  43. Termux Hacking Tools 2019
  44. Hacker Search Tools
  45. Pentest Box Tools Download
  46. What Is Hacking Tools
  47. Hacker Tools Free
  48. Best Pentesting Tools 2018
  49. Hacking Tools For Windows Free Download
  50. Hacking Tools Kit
  51. Best Hacking Tools 2019
  52. Best Hacking Tools 2019
  53. Pentest Automation Tools
  54. Hacker Tools List
  55. Hacker Tools For Mac
  56. Black Hat Hacker Tools
  57. Pentest Tools Github
  58. Hack Tools For Mac
  59. Hacker Tools List
  60. Hack App
  61. Hacker Tools 2019
  62. Pentest Tools Review
  63. Hacker Tools Free
  64. Hack Tools For Windows
  65. Easy Hack Tools
  66. Pentest Tools List
  67. Hacking Tools Hardware
  68. Hacker Tools Apk
  69. Pentest Tools For Windows
  70. Pentest Tools Linux
  71. Hackers Toolbox
  72. Computer Hacker
  73. Hack Tools Online
  74. Hacker Tools Mac
  75. Pentest Tools Review
  76. Pentest Tools Android
  77. Wifi Hacker Tools For Windows
  78. Hack Tool Apk No Root
  79. Blackhat Hacker Tools
  80. Hack Tool Apk No Root
  81. Android Hack Tools Github
  82. New Hack Tools
  83. Hack Tools Mac
  84. Hacking Tools For Windows
  85. Hacking Tools Mac
  86. Hacking Tools Online
  87. Pentest Tools Download
  88. Hacker Tools Free Download
  89. Hack Tools For Pc
  90. Install Pentest Tools Ubuntu
  91. Hacking Tools For Kali Linux
  92. Pentest Tools Subdomain
  93. Hacking Tools And Software
  94. Hacker Tools Apk Download
  95. Blackhat Hacker Tools
  96. Hacking Tools 2019
  97. Hacker Tools
  98. Hacking Tools 2019
  99. Hacking Tools For Kali Linux
  100. Hacking Tools Usb
  101. Hackrf Tools
  102. New Hacker Tools
  103. Termux Hacking Tools 2019
  104. Hack Tools Github
  105. Hacking Tools For Beginners
  106. Pentest Tools Website
  107. Hacking Tools And Software
  108. Pentest Tools Alternative
  109. Hacking Tools Online
  110. Top Pentest Tools
  111. Hack App
  112. Pentest Tools List
  113. Hacking Tools Pc
  114. Pentest Tools List
  115. Hacking Tools For Beginners
  116. Hack Website Online Tool
  117. Hacking Apps
  118. Hack Tools
  119. Hacking Tools Name
  120. Hack Tool Apk
  121. Pentest Recon Tools
  122. Black Hat Hacker Tools
  123. What Are Hacking Tools
  124. Hacker Tools For Pc
  125. Kik Hack Tools
  126. Pentest Tools Find Subdomains
  127. Pentest Tools For Windows
  128. Nsa Hacker Tools
  129. Github Hacking Tools

Tidak ada komentar:

Posting Komentar

Menu