1/21/24

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 posts

  1. Hacker Search Tools
  2. Blackhat Hacker Tools
  3. Hack Tools For Pc
  4. Pentest Tools Windows
  5. Nsa Hacker Tools
  6. Hacking Tools For Kali Linux
  7. Hacker Tools Online
  8. Hack Tools Pc
  9. How To Make Hacking Tools
  10. Hack Tools 2019
  11. Hack Tools
  12. What Is Hacking Tools
  13. Pentest Tools Website
  14. Hacking Tools Usb
  15. Tools 4 Hack
  16. Hacking Tools Download
  17. Pentest Tools Framework
  18. Hacker Techniques Tools And Incident Handling
  19. Hacker Techniques Tools And Incident Handling
  20. Underground Hacker Sites
  21. Hacker Tools Online
  22. Hacking App
  23. Android Hack Tools Github
  24. Hacking Tools For Beginners
  25. Hacker Tools List
  26. Pentest Tools For Windows
  27. Pentest Tools Review
  28. Termux Hacking Tools 2019
  29. Hack Tools Mac
  30. Tools For Hacker
  31. Hacking Tools For Mac
  32. Pentest Tools Find Subdomains
  33. Nsa Hack Tools Download
  34. Pentest Tools Linux
  35. Hacker Tools Windows
  36. Nsa Hacker Tools
  37. Pentest Tools Website Vulnerability
  38. Hacker Tools Online
  39. Hacking Tools Free Download
  40. Hacker Security Tools
  41. Hak5 Tools
  42. Pentest Tools Open Source
  43. Hacker Tools
  44. Pentest Tools Open Source
  45. Hacker Tools
  46. Hacking Tools
  47. Hacker Tools Free
  48. Hacker Tools Hardware
  49. Underground Hacker Sites
  50. Hack App
  51. Best Hacking Tools 2019
  52. Pentest Tools Free
  53. Hacking Tools For Windows
  54. Pentest Tools Framework
  55. Pentest Tools Free
  56. Hacking Tools Usb
  57. Hacker
  58. Hacking Tools For Beginners
  59. Hacker Search Tools
  60. Hak5 Tools
  61. Hacking Tools Usb
  62. Hacking Tools For Windows 7
  63. Hack Tools Online
  64. Hacking Tools Free Download
  65. Nsa Hack Tools
  66. Hacker
  67. Pentest Tools Github
  68. How To Make Hacking Tools
  69. Hacking Tools Windows
  70. Hacking Tools Windows
  71. Hacking Tools For Kali Linux
  72. Hacker Tools For Mac
  73. Pentest Tools
  74. Pentest Tools Website
  75. Hack Tools Online
  76. Hack App
  77. Hacker Security Tools
  78. Hacker Hardware Tools
  79. Computer Hacker
  80. Hacking Tools Software
  81. Hacking Tools 2019
  82. Hacking Tools 2019
  83. Hacking Tools For Games
  84. Hacking Tools For Pc
  85. Pentest Tools Framework
  86. Pentest Tools
  87. Hack Tools 2019
  88. Hacking Tools For Beginners
  89. Physical Pentest Tools
  90. Ethical Hacker Tools
  91. Nsa Hack Tools Download
  92. Hacks And Tools
  93. Hack Apps
  94. Underground Hacker Sites
  95. Hacker Tools For Mac
  96. Hacking Tools Windows
  97. Hack Tools For Games
  98. Hack Tools For Games
  99. Hacking Tools Free Download
  100. Hacking Tools For Pc
  101. Hacking Tools And Software