The $menua is a stringor a array?
from a query
$menua .= "$word[0]"; // from array
$trial .= file_get_contents("http://domain.com/feed/$menua");
no error is shown,
I did try something to this effect
$trial .= file_get_contents("http://domain.com/feed/. $menua");
which did show an error
file_get_contents("http://domain.com/feed/ exampletext");
I was not able to join to the url without having a whitespace