Skip to content

.htaccess is still allowing access to files

If I want to prevent a random user from using the URL to browse to a web file, I need to use an .htaccess file. I have added my code below. I have created an .htaccess file and placed it within my …

Isn’t needed calling the mysqli function to insert values?

I am learning MySQL and PHP, I have seen that with this code you can insert values in the database: So like you see, this should work, but I don’t get how. If you are never calling the function mysqli_query, it is just stored in the $insert variable. It’s called in the if condition? Another thing …

Removing double quotes from href

I have a html string and needs to remove double quote from href of anchor tag. $content = ‘
Hello I am p
<a href="https://…