Saturday, 3 June 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 news
  1. Hacker Search Tools
  2. Hacking Tools For Pc
  3. Kik Hack Tools
  4. Hacking Tools For Pc
  5. Hack Tools For Mac
  6. Pentest Tools Port Scanner
  7. Hack Apps
  8. Usb Pentest Tools
  9. Hacking Tools 2020
  10. Pentest Tools For Mac
  11. Hacker Tools Free Download
  12. Hacking Tools For Mac
  13. Hacking Tools For Kali Linux
  14. Hacking Tools 2020
  15. Hack Tools 2019
  16. Hack Apps
  17. Hacking Tools
  18. Pentest Tools Download
  19. Hacking Tools For Windows Free Download
  20. Nsa Hack Tools
  21. Hacking Tools For Mac
  22. Beginner Hacker Tools
  23. Hacking Tools For Kali Linux
  24. Hack Apps
  25. Pentest Tools For Ubuntu
  26. Pentest Tools For Mac
  27. Bluetooth Hacking Tools Kali
  28. Hack Tool Apk
  29. Hacking Tools Name
  30. Hack Tools Download
  31. Hack Tools For Pc
  32. Nsa Hack Tools
  33. Underground Hacker Sites
  34. Pentest Tools Website Vulnerability
  35. Pentest Tools List
  36. How To Make Hacking Tools
  37. Hack Tools Online
  38. Nsa Hack Tools
  39. Pentest Tools Android
  40. Hack Tool Apk No Root
  41. Pentest Tools Subdomain
  42. Github Hacking Tools
  43. Hacker Tools For Windows
  44. Pentest Tools Apk
  45. World No 1 Hacker Software
  46. Nsa Hack Tools
  47. Computer Hacker
  48. Pentest Tools Windows
  49. Hackers Toolbox
  50. Hacking Tools Kit
  51. Android Hack Tools Github
  52. Nsa Hack Tools Download
  53. Pentest Tools Port Scanner
  54. Nsa Hacker Tools
  55. Hacking Tools For Windows
  56. Nsa Hacker Tools
  57. Pentest Tools For Mac
  58. Hacker
  59. Blackhat Hacker Tools
  60. Hak5 Tools
  61. Hacking Tools Usb
  62. Pentest Tools Framework
  63. Pentest Tools Review
  64. Hack Tools Pc
  65. Nsa Hacker Tools
  66. Pentest Tools Android
  67. Pentest Tools Download
  68. Hacker Tools Software
  69. Hack Tools Download
  70. Hacks And Tools
  71. Termux Hacking Tools 2019
  72. Hacking Tools 2019
  73. Growth Hacker Tools
  74. Pentest Tools For Windows
  75. Kik Hack Tools
  76. Hacker Tools List
  77. Pentest Tools For Ubuntu
  78. Hacker Security Tools
  79. Hacker Tools Github
  80. Install Pentest Tools Ubuntu
  81. How To Hack
  82. Pentest Tools Review
  83. Hacking Tools Free Download
  84. Github Hacking Tools
  85. Hack Tools For Mac
  86. Hack Tools Github
  87. Hacker Tools For Mac
  88. Hacking Tools Free Download
  89. Tools For Hacker
  90. Pentest Box Tools Download
  91. Hacking Tools Mac
  92. Pentest Tools Framework
  93. Tools Used For Hacking
  94. Hacking Tools For Kali Linux
  95. Hack Tools Github
  96. Hack Tools For Pc
  97. Pentest Tools Github
  98. Usb Pentest Tools
  99. Pentest Box Tools Download

No comments:

Post a Comment