echo not cooperating
Posted: Wed Nov 04, 2009 4:06 pm
When my form is submitted and entered into the database, I use 'echo' to display information to the user. When the form is submitted successfully the user should see:
I use this code:
echo "No errors occurred";
echo "$row record was added successfully";
echo "Thank you";
I am hoping to see:
No errors occurred
1 record was added successfully
Thank you
but instead I get:
No errors occurred1 record was added successfullyThank you
What's the problem? Why won't it enter it on multiple lines?
I use this code:
echo "No errors occurred";
echo "$row record was added successfully";
echo "Thank you";
I am hoping to see:
No errors occurred
1 record was added successfully
Thank you
but instead I get:
No errors occurred1 record was added successfullyThank you
What's the problem? Why won't it enter it on multiple lines?