Category : localhost

I edited my php code in notepad and saved the file. The localhost website got updated and is showing the new code. But the same file in visual studio code isn’t getting updated even after refreshing and reopening the file. Do I need to manually update the whole code in visual studio code also? Source: ..

Read more

I’ve made a folder named "koleksiku" in htdocs, inside the folder are two php files. One of them was named db_connect.php and the following code was written inside. <?php $kon = mysqli_connect(‘localhost’,’root’,”); $link = mysqli_select_db($kon,"perpus") or die(mysqli_error()); ?> And the following code was written inside the second file. <?php include "db_connect.php"; $query=mysqli_query ($kon, "SELECT * ..

Read more