• PHP Video Tutorials

PHP - FDF Save String Module



The fdf_save_string() function can return the FDF document as a string.

Syntax

string fdf_save_string( resource $fdf_document )

The fdf_save_string() function can return the document as a string, or false on error.

Example

<?php
   $fdf = fdf_create();
   fdf_set_value($fdf, "foo", "bar");
   $str = fdf_save_string($fdf);
   fdf_close($fdf);
   echo $str;
?>
php_function_reference.htm
Advertisements