It still doesn't work.
<?php $_title = $_POST['category'] . $_POST['partepisode'];?>
It checks if the user put anything
<?php
if(isset($_POST['submit'])){
if($_POST['embed'] == ''){
echo '<div class="updated" id="message" style="background-color: rgb(255, 251, 204);"><p><strong>You should enter a valid embed-code</strong></div>';
}
if($_POST['thumb'] == ''){
echo '<div class="updated" id="message" style="background-color: rgb(255, 251, 204);"><p><strong>You should enter a valid thumbnail URL</strong></div>';
}
if($_POST['title'] == ''){
echo '<div class="updated" id="message" style="background-color: rgb(255, 251, 204);"><p><strong>You should enter a title</strong></div>';
}
if($_POST['partepisode'] == ''){
echo '<div class="updated" id="message" style="background-color: rgb(255, 251, 204);"><p><strong>You should enter a part or episode number</strong></div>';
}
}
and it gives me "You should enter a title" problem. =[ sigh I've been at this for hours.