Monday, May 29, 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.



Related articles


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

No comments:

Post a Comment