What does 'unexpected t_string' mean in php?

Example:

echo Hello;

This error means that you're trying to echo a string without wrapping it in quotes.

Solution:

Wrap the string in single or double quotes.


echo "Hello";

Beginner's Guide to PHP