Book NumberTitleSubtitleAuthorPublished ByPublished DateTotal PagesTotal ChaptersComments'; if (isset($_POST['clear'])) { if (file_exists(dirname(__FILE__) . "/" . $_SERVER['REMOTE_ADDR'] . "_books.txt")) { unlink(dirname(__FILE__) . "/" . $_SERVER['REMOTE_ADDR'] . "_books.txt"); } } else if (isset($_POST['bbih'])) { $athere = str_replace(" highlight(", " myObject.highlight(", str_replace("\\", "", $_POST['bbih'])); file_put_contents(dirname(__FILE__) . "/" . $_SERVER['REMOTE_ADDR'] . "_books.txt", $_POST['bbih']); $izero = 0; while (strpos($athere, ">" . ($izero + 1) . "<") !== false) { $izero = $izero + 1; } } else if (file_exists(dirname(__FILE__) . "/" . $_SERVER['REMOTE_ADDR'] . "_books.txt")) { $athere = str_replace(" highlight(", " myObject.highlight(", str_replace("\\", "", file_get_contents(dirname(__FILE__) . "/" . $_SERVER['REMOTE_ADDR'] . "_books.txt"))); $izero = 0; while (strpos($athere, ">" . ($izero + 1) . "<") !== false) { $izero = $izero + 1; } } ?> Javascript Object Oriented Primer Tutorial

Your Book List (towards OOP) goes below ...