962 posts
  • 6 Years of Membership
  • Author Level 3
  • Beta Tester
  • Collector Level 2
+7 more
webdesigndeluxe
says

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!

962 posts
  • 6 Years of Membership
  • Author Level 3
  • Beta Tester
  • Collector Level 2
+7 more
webdesigndeluxe
says

Nobody? :)

409 posts
  • 5 Years of Membership
  • Exclusive Author
  • India
Dhruv
says

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.

Edit : http://www.tizag.com/phpT/fileread.php

by
by
by
by
by
by