23 gen 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.



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

Nessun commento: