Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
This error is usually trigerred when you use an array syntax into a string
like
PHP Code:
echo "Thank You $row['first_name'] $row['last_name'] for registering with the username $row['username'] and password $row['password']";
use the paragraphs characters between the arrays, in that case
PHP Code:
echo "Thank You {$row['first_name']} {$row['last_name']} for registering with the username {$row['username']} and password {$row['password']}";
those are hints to the php engine, to know where is the variable to insert and where is the string.
__________________
Only a biker knows why a dog sticks his head out the window.
|