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 word
  1. Pentest Tools Port Scanner
  2. Hacking Tools Usb
  3. World No 1 Hacker Software
  4. Hack Tools
  5. Hacking Tools For Beginners
  6. Top Pentest Tools
  7. Hacking Tools Hardware
  8. Pentest Tools Alternative
  9. What Is Hacking Tools
  10. Pentest Tools Github
  11. Hacking Tools
  12. Pentest Tools Download
  13. Hacker Tools Hardware
  14. Pentest Tools Android
  15. Pentest Tools Open Source
  16. Best Hacking Tools 2020
  17. Android Hack Tools Github
  18. Pentest Tools Online
  19. Pentest Tools Android
  20. How To Make Hacking Tools
  21. Hacker Tools Apk Download
  22. Hacker Tools For Mac
  23. Hacking Tools Download
  24. Physical Pentest Tools
  25. Hacking Tools 2020
  26. World No 1 Hacker Software
  27. Hack Tools For Ubuntu
  28. Best Pentesting Tools 2018
  29. Hacking Tools Kit
  30. Pentest Box Tools Download
  31. Hacking Tools For Beginners
  32. Pentest Tools Alternative
  33. Hacker Tool Kit
  34. Pentest Tools For Windows
  35. Usb Pentest Tools
  36. Pentest Automation Tools
  37. Hacker Tools Github
  38. Pentest Box Tools Download
  39. Hacker Tools Mac
  40. Hack Tools For Windows
  41. Top Pentest Tools
  42. Hack Website Online Tool
  43. Hacker Tools Mac
  44. Best Hacking Tools 2020
  45. Best Pentesting Tools 2018
  46. Free Pentest Tools For Windows
  47. Hacking Tools For Pc
  48. Pentest Tools Website Vulnerability
  49. Hack And Tools
  50. Beginner Hacker Tools
  51. Hacker Tools Mac
  52. Hacking Tools 2020
  53. Hacking Tools Usb
  54. Pentest Tools Online
  55. Hacking Tools
  56. Hacker Tools For Windows
  57. Hack Tools For Windows
  58. Hak5 Tools
  59. Github Hacking Tools
  60. Pentest Tools For Android
  61. Pentest Tools List
  62. Easy Hack Tools
  63. New Hack Tools
  64. Pentest Automation Tools
  65. Hacking Tools Usb
  66. What Are Hacking Tools
  67. What Is Hacking Tools
  68. Pentest Tools Website
  69. Hack Tools Github
  70. Hack Website Online Tool
  71. Hack Tools Github
  72. Hacker Tools
  73. Game Hacking
  74. Hacker Search Tools
  75. Top Pentest Tools
  76. Kik Hack Tools
  77. Hack Tools For Games
  78. Hacker Tools Free
  79. Pentest Tools Github
  80. Hacking Apps
  81. Hacker Tools Hardware
  82. Growth Hacker Tools
  83. Install Pentest Tools Ubuntu
  84. Hacking Tools For Beginners
  85. Termux Hacking Tools 2019
  86. Hacking Tools For Windows
  87. Hacker Techniques Tools And Incident Handling
  88. Hack Tools Pc
  89. Pentest Tools Website Vulnerability
  90. Hacking Tools 2020
  91. Pentest Tools Nmap
  92. Hack Rom Tools
  93. Pentest Tools Framework
  94. Pentest Tools Bluekeep
  95. Hacking Tools Software
  96. Hacking Tools For Games
  97. Hacking Tools For Windows 7
  98. Hacking Tools Windows

EMAIL подписка