Hey everyone I need some quick help one more time That’s what I love about this marketplace is the great community helping out others. I’m making a flash program which saves the score. I have a print button in the program that will print out the scores. Can anyone help me create or find one online? I need a simple PHP print function that will print out the scores via flash. Thanks for any help guys!
Though i know PHP , i don’t know how it works with Flash.
To print something you can use,
<?php echo 'Something'; //or $var = 123; echo $var; //or include("file.txt"); //or $file = "folder/score.txt"; $contents = file($file); $string = implode($contents); echo $string; //or $file = "score.txt"; $fh = fopen($file, 'r'); ?>
Hope any of these methods work.