hello. i am just getting started at php world and this is my first problem 🙂 can someone check this script and tell me where is the problem: 10x
<?php
if ($_POST['submit']) {
echo 'bravo';
} else {
echo "<form mithod='POST' action=''>
<input type='text' name='ime' /><br />
<input type='submit' name='submut' value='kop4e za ne6to' />
</form>";
}
?>
Notice: Undefined index: submit in ........ on line ...
I think my lessons are on PHP4