Friday, June 2, 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 word
  1. Termux Hacking Tools 2019
  2. Hacking Tools Download
  3. Hack Tools Pc
  4. Pentest Tools Download
  5. Hack Tools Mac
  6. What Are Hacking Tools
  7. Pentest Tools Subdomain
  8. Hacker Tools Online
  9. What Is Hacking Tools
  10. Hacking Tools For Pc
  11. Hacker Tools For Ios
  12. Usb Pentest Tools
  13. Pentest Tools Github
  14. Hack App
  15. Hack Tool Apk No Root
  16. How To Hack
  17. Tools Used For Hacking
  18. Hacker Techniques Tools And Incident Handling
  19. Pentest Tools Nmap
  20. How To Install Pentest Tools In Ubuntu
  21. Hack Tools For Games
  22. Best Pentesting Tools 2018
  23. Hacker Tools Free
  24. Hacker Tools List
  25. Pentest Box Tools Download
  26. Hack Tool Apk No Root
  27. Hacking Tools 2020
  28. Best Hacking Tools 2019
  29. Hacking Tools Windows
  30. Hacker Tools Windows
  31. Pentest Tools Free
  32. Hacker Techniques Tools And Incident Handling
  33. Hacker Tools Free Download
  34. Pentest Tools For Ubuntu
  35. Kik Hack Tools
  36. Hacking Tools For Games
  37. How To Install Pentest Tools In Ubuntu
  38. Pentest Tools Github
  39. Pentest Tools Online
  40. Tools 4 Hack
  41. Hacker Tools Apk
  42. Hacking Tools Kit
  43. Underground Hacker Sites
  44. Install Pentest Tools Ubuntu
  45. Computer Hacker
  46. Hacker Tools For Windows
  47. Hacker Tools List
  48. Best Hacking Tools 2019
  49. Top Pentest Tools
  50. Tools For Hacker
  51. Hacking App
  52. Hacking Tools Kit
  53. Pentest Recon Tools
  54. Hack Website Online Tool
  55. Hacking Tools For Kali Linux
  56. Hacker Tools For Mac
  57. Hacking Tools 2020
  58. Pentest Tools Port Scanner
  59. Top Pentest Tools
  60. What Is Hacking Tools
  61. Hacking Tools Windows
  62. Pentest Tools Website Vulnerability
  63. Hacking Tools For Kali Linux
  64. Hacking Tools Usb
  65. Hacking Tools And Software
  66. Pentest Tools Website
  67. Android Hack Tools Github
  68. Hacker Tools
  69. Hack Tools Online
  70. Nsa Hacker Tools
  71. Pentest Tools Subdomain
  72. Hacker Hardware Tools
  73. Beginner Hacker Tools
  74. Growth Hacker Tools
  75. Pentest Tools For Mac
  76. Android Hack Tools Github
  77. Hacker Tools Apk Download
  78. Hacking Tools For Windows Free Download
  79. Hacking Tools Hardware
  80. Hacking Tools Windows
  81. Pentest Tools Alternative
  82. Hacking Tools Windows
  83. Blackhat Hacker Tools
  84. Hacking Tools Windows
  85. Hacking Tools Windows 10
  86. Hacking Tools Free Download

No comments:

Post a Comment