ok i have the following code
/* Everything has passed both error checks that we have done.
It's time to create the account! */
//lets say where the files are going and the directory name
$newDir = ($kids_name);
$path = (public_html/scn/9);
//Lets encrypt the password
$db_password = md5($password);
//Before we enter it all into the database lets first create the folder
// create directory through FTP connection
function FtpMkdir($path, $newDir) {
$server='ftp.mooecow.ahost4free.com'; // ftp server
$connection = ftp_connect($server); // connection
// login to ftp server
$user = "******";
$pass = "*******";
$result = ftp_login($connection, $user, $pass);
// check if connection was made
if ((!$connection) || (!$result)) {
return false;
exit();
} else {
ftp_chdir($connection, $path); // go to destination dir
if(ftp_mkdir($connection,$newDir)) { // create directory
return $newDir;
} else {
return false;
}
ftp_close($conn_id); // close connection
}
}
// Enter info into the Database.
so when i run it i get this error
Warning: Division by zero in /home/mooecow/public_html/scn/member/register9.php on line 82
Unknown column 'kids_name' in 'field list'
so what can i do to fix that