Quote:
Originally Posted by Mist
You only quote your single strings when you are not inbetween any double or single quotes. As:
PHP Code:
echo "The forum title is $result['title']";
Will give a nasty error 
|
So the correct way would be to assign the value to a non-array var before you echo it with double quotes:
PHP Code:
$echostr = $result['title'];
echo "The forum title is $echostr";
I know that $result[title] works, but again, it's syntactically not 100% correct and only works, because PHP is not type safe.