if(isset($_POST['enletf'])){
if($_POST['artlf']!=NULL){
if($_POST['nombrelf']!=NULL){
if($_POST['letraf']!=NULL){
$letra = $_POST['letraf'];
$nombre = $_POST['nombrelf'];
$artista = $_POST['artlf'];
$clave=$cb.$ID.date('Hms');
$quitar = array("<", ">", "/", "'\'", "<3",);
$sustituir = array("<", ">", "/", "'\'", "♥");
$newletra = str_replace($quitar, $sustituir, $letra);
$newnombre = str_replace($quitar, $sustituir, $nombre);
$newartista = str_replace($quitar, $sustituir, $artista);
echo '<br/>';
echo $newletra;
$letra = $newletra;
echo '<br/>';
echo $newnombre;
echo '<br/>';
echo $newartista;
$insert = mysql_query("INSERT INTO letras SET letra='$newletra'");
if($insert == TRUE){
echo 'Se inserto correctamente';
}else{
echo 'Hay un error wey!';
}
}else{echo '<br/>¿Y la letra?';}
}else{echo '<br/>Faltó El Nombre De La Canción';}
}else{echo '<br/>Faltó El Artista De La Canción';}
}