Wednesday, May 31, 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.



More information

  1. Termux Hacking Tools 2019
  2. Hacker Tools Hardware
  3. Hacking Tools Software
  4. Hacking Tools And Software
  5. Hacker Tools 2020
  6. Hacker Tools
  7. Pentest Tools Online
  8. Pentest Tools Windows
  9. Pentest Tools Kali Linux
  10. Termux Hacking Tools 2019
  11. Pentest Tools Url Fuzzer
  12. Hacker Tools Free
  13. New Hack Tools
  14. Hacking Tools For Pc
  15. Hack Tool Apk No Root
  16. Hack Tools For Windows
  17. Hacking Tools Mac
  18. Hacking Tools Name
  19. Pentest Tools Find Subdomains
  20. Hacking Tools Mac
  21. How To Make Hacking Tools
  22. Hacking Tools Hardware
  23. Hacking Tools For Mac
  24. Best Hacking Tools 2019
  25. Hacker Tools For Mac
  26. Hack Rom Tools
  27. Hacker Tools Hardware
  28. Best Pentesting Tools 2018
  29. Pentest Reporting Tools
  30. Black Hat Hacker Tools
  31. Pentest Tools Review
  32. Tools For Hacker
  33. Top Pentest Tools
  34. Hacking Tools 2019
  35. Hacking Tools Software
  36. Pentest Tools Find Subdomains
  37. New Hack Tools
  38. Hacker Security Tools
  39. Hacking Tools For Pc
  40. Hacker Tools Mac
  41. Hacker Tools Online
  42. Hacking Tools And Software
  43. Hacker Tools For Pc
  44. Best Pentesting Tools 2018
  45. Hacking Tools For Games
  46. Hacker Tool Kit
  47. Pentest Tools Android
  48. Hacker Tools Apk
  49. Github Hacking Tools
  50. Hacker Tools 2020
  51. Hacking Tools 2019
  52. Install Pentest Tools Ubuntu
  53. Hacking Tools For Windows
  54. Hacking Tools Hardware
  55. Pentest Tools Alternative
  56. Pentest Tools Find Subdomains
  57. Hacker Tools Apk Download
  58. Top Pentest Tools
  59. Usb Pentest Tools
  60. Hack Tools Mac
  61. Hacker Tools For Ios
  62. Hack Tools For Mac
  63. Ethical Hacker Tools
  64. Wifi Hacker Tools For Windows
  65. Pentest Tools Website Vulnerability
  66. Pentest Automation Tools
  67. Hacker Tools For Ios
  68. New Hacker Tools
  69. Hack Tool Apk No Root
  70. Hacker Tools Software
  71. Pentest Tools Download
  72. Pentest Tools Port Scanner
  73. Computer Hacker
  74. Ethical Hacker Tools
  75. Hacking Tools For Pc
  76. Pentest Tools For Mac
  77. Pentest Tools Android
  78. Hack Tools Mac
  79. Game Hacking
  80. Free Pentest Tools For Windows
  81. Hack Tool Apk
  82. Hack Tools For Mac
  83. Pentest Tools List
  84. Pentest Tools Find Subdomains
  85. Pentest Tools Bluekeep
  86. Free Pentest Tools For Windows
  87. Hack Tools For Pc
  88. Pentest Recon Tools
  89. Free Pentest Tools For Windows
  90. Black Hat Hacker Tools
  91. World No 1 Hacker Software
  92. Hacking Apps
  93. Termux Hacking Tools 2019
  94. How To Make Hacking Tools
  95. Hack And Tools
  96. Hack App
  97. Pentest Tools Windows
  98. Hackrf Tools
  99. Hack Rom Tools
  100. Hacking Tools For Windows 7
  101. Hack Tools
  102. Hacking Tools For Windows Free Download
  103. Hack Website Online Tool
  104. Hacker Search Tools
  105. Game Hacking

No comments: