Pewnego pięknego dnia 2004-06-08 12:48, siedzący przy klawiaturze Alvaro
G Vicario napisał co następuje::
how to do it using classes and autogenerated files for frameset?
I just can't figure out what your problem is :-?
the problem is, that I don't know how to do it using single file
(index.php)
maybe I can parse only parts of file, each part for the frame?
normally there is one file that keep frameset, and some files for frames,
I want to do it using only single file index.php, the file can be read
partialy by a frame, but I don't know how do it ;-(
I can use one <object> field instead of frameset,
the question is how to fill <object> field with a part of my file,
for example, there is:
$table->toHtml();
in the index.php file, and I want autogenerated table to be set in
<object> on my page, I can do it this way
$temp = $table->toHtml();
$file = fopen('temp.php','w+');
fwrite ($file,$tableFile);
fclose($file);
and then
echo '<object data="temp.php" type="text/html" width="90%"
height="300"></object>';
but, I think it's not the right solution, it's absolutly not correct!
any suggesion how to solve the problem?
--
d.jarosik [monkey] magnat [dot] gda [dot] pl
//sig powered by vi ;-)