Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
10-07-2010, 08:12 PM #1
- Join Date
- Oct 2008
- Thanked 1 Time in 1 Post
Better to return a value or echo it
I am trying to find out if it is better to echo a value from a php script that is being called by an ajax function, or return the value ("return blah;"). I know that your not suppose to return or echo any html from the php script. But, this is my first time working with ajax so any help on this matter is great.