Ah, there we go. The local version works now except when I try to add a sub category, it says access forbidden with this URL:
http://localhost/sample/%3Cbr%20/%3E%3Cb%3ENotice%3C/b%3E:%20%20Undefined%20variable:%20editFormAction%20in%20%3Cb%3EG:/xampp/htdocs/sample/MainAndSubCat.php%3C/b%3E%20on%20line%20%3Cb%3E251%3C/b%3E%3Cbr%20/%3E
believe it says - Undefinedvariable:editFormAction in
G:/xampp/htdocs/sample/MainAndSubCat.php
On line 251
line 251-
<form class="NewFromBlank_Default" id="Default_NewFromBlank_Default" name="Default_NewFromBlank_Default" method="POST" action="<?php echo $editFormAction; ?>">