June 1, 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 links


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

No comments:

Post a Comment