Skip to content
Advertisement

Tag: external

Placing Error Message from PHP to specific place in HTML [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year. Improve this question I have created a log in system. My PHP is on a separate script file than my HTML. I want to

Include external javascript file in header navbar file not found

I have the following folder structure: website.com/index.php website.com/page/asd.php website.com/header.php website.com/js/file.js header.php contains: index.php contains: asd.php contains: So file.js will work on index.php, but file.js doesnt work on asd.php. On asd.php the browser want to get /pages/js/file.js (which doesnt exist) and not /js/file.js How can I handle this problem? Thank you. Answer Start path of your file with / This will

Advertisement