Thursday, 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. Hacking Tools Windows 10
  2. Ethical Hacker Tools
  3. Hack And Tools
  4. Hack Apps
  5. Hacking Tools Usb
  6. Android Hack Tools Github
  7. Hacker Techniques Tools And Incident Handling
  8. Hacker Tools Apk Download
  9. Hacking Tools 2020
  10. Pentest Tools Port Scanner
  11. Hacking Tools Usb
  12. Hacking Tools For Kali Linux
  13. Pentest Reporting Tools
  14. Hacker Tools Apk Download
  15. Hacker Tools Windows
  16. Nsa Hack Tools
  17. Hacker Tools List
  18. Termux Hacking Tools 2019
  19. Hack Website Online Tool
  20. Pentest Tools Windows
  21. Hack Website Online Tool
  22. Hack Tools For Pc
  23. Pentest Tools Website
  24. Hack Tools 2019
  25. Hacker Search Tools
  26. Hacking Tools Windows 10
  27. Hacks And Tools
  28. Hacker Tools Software
  29. Hacker Tools Apk Download
  30. Hacking Tools For Windows
  31. Hack App
  32. Best Pentesting Tools 2018
  33. Hacker Tools For Ios
  34. Hack Tools Pc
  35. Pentest Tools Linux
  36. Ethical Hacker Tools
  37. Pentest Tools Website
  38. Pentest Tools Tcp Port Scanner
  39. Hacker
  40. Hacking Tools For Windows Free Download
  41. Hacking Tools Mac
  42. Hacking Tools Free Download
  43. Top Pentest Tools
  44. Hacking Tools Online
  45. Hacker Search Tools
  46. Hacking Tools 2020
  47. Growth Hacker Tools
  48. Hacking Apps
  49. Hacking Tools For Beginners
  50. Hacking Tools For Windows
  51. Hacking Tools Download
  52. Hack Tools Github
  53. Kik Hack Tools
  54. Hack Apps
  55. Hack Website Online Tool
  56. Pentest Tools For Android
  57. How To Make Hacking Tools
  58. Pentest Tools Alternative
  59. Hacking Tools Download
  60. Hacking Tools Free Download
  61. Hacking Tools 2019
  62. How To Install Pentest Tools In Ubuntu
  63. Hacking App
  64. Hack Tools For Pc
  65. Hack Tools
  66. Pentest Tools Linux
  67. Hacker Tools Software
  68. Pentest Tools Alternative
  69. Hacker Tools Hardware
  70. Ethical Hacker Tools
  71. Hacking Tools Github
  72. Pentest Tools Linux
  73. Pentest Tools For Mac
  74. Hacker Tools Hardware
  75. Pentest Tools Github
  76. Hack Tools For Mac
  77. Free Pentest Tools For Windows
  78. Hacking Tools Windows 10
  79. Pentest Tools Windows
  80. Tools For Hacker
  81. Hacker Tools For Ios
  82. Hack Tools Pc
  83. Pentest Tools Windows
  84. Hacking Tools Github
  85. Hacking Tools
  86. Hacking Apps
  87. Blackhat Hacker Tools
  88. Hacking Tools Download
  89. Hacking Tools Name
  90. Underground Hacker Sites
  91. Ethical Hacker Tools
  92. Game Hacking
  93. What Is Hacking Tools
  94. Pentest Tools Review
  95. Bluetooth Hacking Tools Kali
  96. Hacker Tools Software
  97. Pentest Tools Framework
  98. Pentest Tools For Android
  99. Best Hacking Tools 2020
  100. Hacking Tools For Windows 7
  101. Tools Used For Hacking
  102. Hacking Tools For Windows Free Download
  103. Hacker Tools Apk Download
  104. Tools For Hacker
  105. Hacker Tools Github
  106. Pentest Tools For Windows
  107. New Hacker Tools
  108. Hack Apps
  109. Hacker Tools Github

No comments: