Thursday, January 25, 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.



Related news

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

No comments:

Post a Comment