So I am trying to display a list from another website in mine, it all works fine but only the first word of the \'title\' attribute is stored. I know that the whole title is
Put title inside quotation marks
echo "<td title =".$shipTitles[$key]." >"; // Wrong
Right is
echo "<td title ='".$shipTitles[$key]."' >";
Without quotes, you will only see the word till the first space