Jens14 wrote:Can someone help me find the error in my code?
What error?
EDIT: I will mention this:
Arrays, more specifically items in arrays referenced by indeces, should not simply appear inside a double-quoted string. If they do, they should be wrapped in braces ( {} ). Instead, I usually escape out of the string and concatenate the array in the middle, like so:
echo 'Your name is: ' . $row['name'] . '! Hello there.';