Kode: Vælg alt
<?php
if(isset($_POST["submit"])) {
$title = $_POST ["title"];
if(empty($titel)){
echo '<font color="red">You need to type in a name!</font>';
}else{
echo "test";
}
?>
<form action="" method="post">
Link to the image <i>use <a href="http://www.tinypic.com">tinypic</a></i>: <input type="text" name="title" /><br />
<input type ="submit" name="submit" value="Submit" />
</form>
<?php
}
?>


