how to disable warning message and instead show the other message in php? -
this question has answer here:
- remove warning messages in php 8 answers
<?php $html_url = 'http://api.biblia.com/v1/bible/content/leb.html?passage=john333&style=fullyformatted&key=fd37d8'; $str_html = file_get_contents($html_url); question:
it shows: warning: file_get_contents(http://api.biblia.com/v1...
is there way can hide message, instead show message such "can not show result"?
use @ symbol this:
$html_url = 'http://api.biblia.com/v1/bible/content/leb.html?passage=john333&style=fullyformatted&key=fd37d8'; $str_html = @file_get_contents($html_url);
Comments
Post a Comment