Jump to content

Handling PHP warnings


JeBu

Recommended Posts

For example, when some link is clicked and it should now include somefile.php, but when the file is not found, I should echo "Error"; not those warnings, without changing PHP settings

 

Second problem-----------

 

Not PHP (css)

 

How to do so, that I have page, i.e "index.php" and a stylesheet named "style.css". I have input fields in "index.php" which gets his style from "style.css". But there is a link also in my index and when I click on that link, it includes a page, where are also input fields, but I want to add different style to them. At the moment it is taking style from style.css to my included page also.

Link to comment
https://forums.phpfreaks.com/topic/62299-handling-php-warnings/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.