[Solved] Index Undefined in Second php code block [duplicate]


You need to test if Title is actually set. That error occurred because no request with that data was sent.

if(isset($_POST['Title'])) $Title = mysql_real_escape_string($_POST['Title']);

If it still doesn’t work, it means there is something wrong with how you are sending the data over

solved Index Undefined in Second php code block [duplicate]