Thursday, June 1, 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 articles
  1. Pentest Tools For Windows
  2. Hack Website Online Tool
  3. Hacker Tools For Pc
  4. Pentest Tools Tcp Port Scanner
  5. Hack App
  6. Pentest Tools Windows
  7. World No 1 Hacker Software
  8. Hacker Tools Free Download
  9. Install Pentest Tools Ubuntu
  10. Pentest Tools Kali Linux
  11. Hacking Tools For Windows
  12. Pentest Tools Url Fuzzer
  13. Pentest Automation Tools
  14. Nsa Hack Tools
  15. Hacking Tools For Mac
  16. Pentest Tools Online
  17. Usb Pentest Tools
  18. Top Pentest Tools
  19. Hacker Tools Online
  20. Nsa Hack Tools Download
  21. Hacker Tools Github
  22. Pentest Tools For Mac
  23. Hacker Tools Linux
  24. Pentest Tools Bluekeep
  25. Nsa Hack Tools
  26. Free Pentest Tools For Windows
  27. Pentest Tools Url Fuzzer
  28. Pentest Automation Tools
  29. Pentest Tools
  30. Hack Tools Github
  31. Pentest Tools Android
  32. What Are Hacking Tools
  33. Hacking Tools 2020
  34. Hack Tool Apk No Root
  35. World No 1 Hacker Software
  36. Usb Pentest Tools
  37. Free Pentest Tools For Windows
  38. Nsa Hack Tools
  39. Wifi Hacker Tools For Windows
  40. Pentest Tools For Mac
  41. Hacking Tools Download
  42. Hacker Hardware Tools
  43. Pentest Tools Tcp Port Scanner
  44. Pentest Tools For Windows
  45. Kik Hack Tools
  46. Nsa Hack Tools
  47. Hacker Tools
  48. Hacker Hardware Tools
  49. Hacking Tools Windows 10
  50. Hacking Tools Kit
  51. Hacks And Tools
  52. Hacks And Tools
  53. Free Pentest Tools For Windows
  54. Pentest Tools Website
  55. Hacker Hardware Tools
  56. Pentest Tools Kali Linux
  57. Best Hacking Tools 2019
  58. World No 1 Hacker Software
  59. Hacker Tools 2019
  60. Hack Tools Download
  61. Tools For Hacker
  62. Blackhat Hacker Tools
  63. Bluetooth Hacking Tools Kali
  64. Black Hat Hacker Tools
  65. Hack Tool Apk
  66. Hacker Tools Apk Download
  67. Physical Pentest Tools
  68. World No 1 Hacker Software
  69. Pentest Recon Tools
  70. Top Pentest Tools
  71. Pentest Automation Tools
  72. Pentest Tools Subdomain
  73. Hack Tools
  74. Hack Tools For Windows
  75. Hacker Tools Windows
  76. Underground Hacker Sites
  77. Best Hacking Tools 2020
  78. Hacking Tools Pc
  79. Pentest Tools For Windows
  80. Hacker Tools For Mac
  81. Best Hacking Tools 2019
  82. Hacks And Tools
  83. Hacking Tools Online
  84. Hacking Tools For Pc
  85. Tools 4 Hack
  86. World No 1 Hacker Software
  87. Pentest Tools Framework
  88. Hack Rom Tools
  89. Pentest Tools Subdomain
  90. Hacker Hardware Tools

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.