Print () function in php - multiple variables

does anyone know how to pass multiple variables from say, mysql? to flash using php?

for example my php file only prints one line, not two

print “variable1=”.$result1;
print “variable2=”.$result2;

— only variable1 will be parsed

does print require an array to print several values? thanks!