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.
- Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
- Open a support ticket if you would like specific help with your account, deposits or purchases.
- Item Support by authors is optional and may vary. Please see the Support tab on each item page.
Most of all, enjoy your time here. Thank you for being a valued Envato community member.