Kod je sledeci:
Code:
<?php
require_once 'HTML/Table.php';
$table = new HTML_Table();
$table->addRow(array("one", "two", "three"), null, "th");
$table->addRow(array("one", "two", "three"));
echo $table->toHtml();
?>
<?php
require_once 'HTML/Table.php';
$table = new HTML_Table();
$table->addRow(array("one", "two", "three"), null, "th");
$table->addRow(array("one", "two", "three"));
echo $table->toHtml();
?>
Dobijam gresku (hosting je na neobee.net):
Warning: main(HTML/Table.php): failed to open stream: No such file or directory in /beehive/data/hosting/italiani.co.yu/www/pear/pear1.php on line 2
Fatal error: main(): Failed opening required 'HTML/Table.php' (include_path='.:/usr/lib/php/:/usr/share/pear/') in /beehive/data/hosting/italiani.co.yu/www/pear/pear1.php on line 2
Gde gresim?
Pozdrav
[Ovu poruku je menjao Nemanja Avramović dana 08.03.2007. u 15:22 GMT+1]