| Php Tutorial 5 + 6 -
11-05-2006, 01:26 PM
Tutorial 5 echo (" The variable \$applicant equals $applicant.") the 1st $applicant has a \ behind it so it actually prints $applicant instead of the egality of $applicant
echo (" The variable \n$applicant equals $applicant.") after the \n there is a new line. Tutorial 6 $field = "ProductID" ;
$$field = "432BB" ;
echo ($ProductID) ; // Prints 432BB
echo ($$field) ; // Prints 432BB these are called variable variables |