|
Posted by Andrew Peskin on 12/08/05 23:31
Andrew Peskin wrote:
> Sjoerd wrote:
>
>> Use objects, classes or arrays. See the PHP manual for more details.
>>
>> Quick example:
>> <?php
>> $foo->lID = 10;
>> $foo->dtDate = date();
>> $foo->sName = "I like PHP";
>> ?>
>>
> Thank you very much for your quick response ... another question ... if
> you wanted to read/write data from/to a binary file, can you do this
> from PHP?
I should add ... can you read/write to a binary file, whole objects, in
your example above, can you write $foo to a binary file, then read the
binary file and place the record into a new variable $foo1?
[Back to original message]
|