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

No comments: