Here we come

Here we come
From our previous trip to San Diego in 2008 .- celebrating 40 years of matrimony

lördag 27 maj 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 articles

  1. Hacking Tools
  2. Pentest Tools Subdomain
  3. Hacking Tools For Games
  4. How To Install Pentest Tools In Ubuntu
  5. Hacking Tools And Software
  6. Hacker Tools
  7. Hacking Tools Kit
  8. Hacking Tools For Windows Free Download
  9. Hack Tools For Windows
  10. Install Pentest Tools Ubuntu
  11. Hacker Tools Hardware
  12. Pentest Tools Github
  13. Pentest Tools For Windows
  14. Hacking Tools For Windows
  15. Hacking Tools Name
  16. Hacker Tools Mac
  17. Hacker Security Tools
  18. Hacker Tools Linux
  19. Pentest Automation Tools
  20. Hacking Tools 2019
  21. Hacker Tools For Mac
  22. Pentest Tools Download
  23. Pentest Tools Online
  24. Hack Tools For Pc
  25. New Hacker Tools
  26. Hack Tools Download
  27. Hack And Tools
  28. Hack Tools Mac
  29. Hak5 Tools
  30. Hack Tools Github
  31. Hack Tools Mac
  32. Best Pentesting Tools 2018
  33. Hacking Tools Download
  34. Hack Tools For Games
  35. Pentest Tools Tcp Port Scanner
  36. Pentest Tools Github
  37. Hacking Tools 2020
  38. Nsa Hack Tools
  39. Hacker Tools Mac
  40. Hacker Tools
  41. Hack And Tools
  42. Best Hacking Tools 2019
  43. Pentest Tools Review
  44. Install Pentest Tools Ubuntu
  45. Hack Tools For Ubuntu
  46. Hacker Search Tools
  47. Pentest Reporting Tools
  48. Hacking Tools Windows 10
  49. Best Hacking Tools 2020
  50. Hacker Tools
  51. Hacking App
  52. Hacker Tools Apk Download
  53. Hak5 Tools
  54. Pentest Automation Tools
  55. Hack App
  56. Pentest Tools Linux
  57. Hack Tools Download
  58. Hacker Tools Software
  59. Hack Website Online Tool
  60. Hacker Tools For Mac
  61. Hack Apps
  62. Pentest Tools For Ubuntu
  63. Hacking Tools For Games
  64. How To Make Hacking Tools
  65. Install Pentest Tools Ubuntu
  66. Pentest Tools
  67. Hak5 Tools
  68. Easy Hack Tools
  69. Hack Tools
  70. Hacking Tools Mac
  71. Pentest Tools Bluekeep
  72. Hacking Tools For Windows Free Download
  73. Hacker Tools For Pc
  74. Hacking Tools 2020
  75. How To Hack
  76. Pentest Reporting Tools
  77. Hacker Techniques Tools And Incident Handling
  78. Hack Website Online Tool
  79. Usb Pentest Tools
  80. Hacker Search Tools
  81. Hack Tool Apk
  82. What Are Hacking Tools
  83. Ethical Hacker Tools
  84. New Hacker Tools
  85. How To Make Hacking Tools

Inga kommentarer:

Skicka en kommentar