hdf_read_string — Read an HDF string.
bool hdf_read_string( | hdf, | |
scheme) ; |
resource hdf
;string scheme
;
Populates the HDF resource
hdf
with the string
scheme
. scheme
is formatted with the dotted path or nested elements scheme
(described at http://www.clearsilver.net/docs/man_hdf.hdf)
or a combination of the two.
Example 6. hdf_read_string
example
<?php $hdf = hdf_init(); hdf_read_string($hdf, 'Page.Title = The Great Divide: Global Economic Disparity'); //dotted path scheme hdf_read_string($hdf, "Page { Hypothesis = Humanity's greatest medium term challenge }"); //nested element scheme print hdf_write_string($hdf); ?>