This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Allows the user to both create new records and edit existing records | |
*/ | |
// connect to the database | |
include("connect-db.php"); | |
// creates the new/edit record form | |
// since this form is used multiple times in this file, I have made it a function that is easily reusable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Allows the user to both create new records and edit existing records | |
*/ | |
// connect to the database | |
include("connect-db.php"); | |
// creates the new/edit record form | |
// since this form is used multiple times in this file, I have made it a function that is easily reusable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Update Cartoon Database</title> | |
</head> | |
<body> | |
<h2>Add New Cartoon to Database</h2> | |
<form method="post" action="updatedev.php"> | |
<?php include 'connect-db.php'?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- phpMyAdmin SQL Dump | |
-- version 3.5.1 | |
-- http://www.phpmyadmin.net | |
-- | |
-- Host: localhost | |
-- Generation Time: Sep 16, 2012 at 04:16 AM | |
-- Server version: 5.5.25 | |
-- PHP Version: 5.4.4 | |
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; |