kwiatchris / Chris_todoapp

todo aplication in php with mysql
0 stars 0 forks source link

Check if INSERT was succesful #2

Open kwiatchris opened 8 years ago

kwiatchris commented 8 years ago

$result = mysql_query("INSERT INTO PEOPLE (NAME ) VALUES ('COLE')")); if($result) { echo "Success";

} else { echo "Error";

}