Skip to content

Tag: html

HTML Log System with javascript or maybe php

Hi I tried to make a log system panel to my website. The code is works fine because if you write the text into the input field it will show up. But if you reload the page it will disappear. So my problem is the disappearing text. I want to do this when I type the text so it doesn’t

Insert php and html code into database and then fetching/getting it

So I’am trying to add Php code to the database it works when I insert it in the database. But when I go to the browser the Php code I added was commented code: Is there any way to fix this? Answer Like Dharman said, $insert should be divided, so assign your include to a variable and then create $insert

PHP, simple banner pop up in else statement

I have a simple if/else for a php login of sorts: However, I want to make it so that within that else it shows a somewhat nice looking banner on the existing page, as now it just shows the text on a white blank page (as echo should be expected to do) What’s the most simple way to just stay

Multiple if/then arguments in PHP for HTML classes

I would like to have an if/then argument for 2 classes (from the css) for a menu item. One where the menu item is blue if it is NOT the active page, and one where the menu item is red if it IS the active page. I have figured out the active page portion, now I am trying to figure