Monday, June 5, 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. Hacker
  2. Pentest Reporting Tools
  3. Hacking Tools Hardware
  4. Pentest Tools Find Subdomains
  5. Hacking Tools 2020
  6. Hacker Tools Hardware
  7. Nsa Hack Tools Download
  8. World No 1 Hacker Software
  9. Hack Tools
  10. Hacker Tools Mac
  11. Hacker
  12. Hack Tools Mac
  13. Hacker Tools Mac
  14. Best Pentesting Tools 2018
  15. Hacking Tools Software
  16. Hacker Tools Apk
  17. Easy Hack Tools
  18. Install Pentest Tools Ubuntu
  19. Hack Tools For Mac
  20. Hacker Tools
  21. Game Hacking
  22. Usb Pentest Tools
  23. Hacker Tools Github
  24. Hacking Tools 2020
  25. Hack Tools Pc
  26. Hacking Tools For Kali Linux
  27. Hacking Tools Hardware
  28. Hacker Tools For Mac
  29. Hack Apps
  30. Pentest Tools Free
  31. Nsa Hack Tools Download
  32. Hacker Tools For Pc
  33. Pentest Tools Linux
  34. Pentest Tools Website
  35. Hacking Apps
  36. Best Hacking Tools 2019
  37. Hack App
  38. Pentest Tools Nmap
  39. Hack Tools For Games
  40. Hacker Tools Software
  41. Hacking Tools Hardware
  42. Hacking Tools Github
  43. Pentest Tools Download
  44. Usb Pentest Tools
  45. Pentest Tools Subdomain
  46. Easy Hack Tools
  47. Hacking Tools For Windows
  48. Hacker Hardware Tools
  49. Hacker Tools Hardware
  50. Hacking Tools For Windows Free Download
  51. Hacking Tools For Windows
  52. Pentest Tools Open Source
  53. Hacker Tools Github
  54. Tools Used For Hacking
  55. Hack And Tools
  56. Hack Tools Mac
  57. Pentest Tools Port Scanner
  58. Hackrf Tools
  59. Hack Tools For Games
  60. Physical Pentest Tools
  61. Hack Tools 2019
  62. Hack Tools For Ubuntu
  63. How To Install Pentest Tools In Ubuntu
  64. Kik Hack Tools
  65. Game Hacking
  66. Android Hack Tools Github
  67. Hack Tools Online
  68. Hacker Tools For Windows
  69. Hacking Tools For Pc
  70. Hacking Tools
  71. Hacking Tools Download
  72. Hacking Tools Github
  73. Pentest Tools
  74. Hak5 Tools
  75. Pentest Tools Download
  76. Hacker Techniques Tools And Incident Handling
  77. Pentest Tools Github
  78. Pentest Tools Website Vulnerability
  79. Pentest Tools Bluekeep

No comments:

Post a Comment