php / mysql

flibby said:
Think this whole section could be bad, as your giving PHP variable names inside a echo function without breaking it to print the variable. Such as:

Code:
echo "This variable: $whatever, is going to be printed as text";
instead of:

Code:
echo "This variable: " . $whatever . ", isn't going to be printed as text";

no it's fine, php parses variables in double quotes like that. :)

http://uk.php.net/echo
 
Back
Top Bottom