if (isset($category)) { echo $category->title; } ?> " required></td> </tr> <tr> <td> <label for="content">Caregory Content:</label> The content of the category </td> </tr> <tr> <td><textarea name="content" required><?php if (isset($category)) { echo $category->content; } ?> </textarea></td> </tr> <tr> <td><input type="submit" name="save" value="Save"></td> </tr> </table> </form> <?php } else { echo Category::control(); }