Whatever man. Single quotes are hard quotes and you will end up with $value equal to the exact string $result also written as \$result.
This is a bad thing. Using $value="$result"; will work but I don't get why you're having the one word problem. Try a print_r($variable); to help debug your problem.
I suspect you ment echo "<input type=\"stuff\" value=\"$result\">";
Using single quotes will still screw you however if the value has a ' in it like; echoed as:
value='tom's value'
will show only tom and the s value' will be lost.