so i m trying to delete a row in mysql with php code and it doesnt gets deleted
the code:
<?php
if (isset($_POST['zbrisi']))
{
$ime = $_POST['imeDatoteke'];
mysql_connect("localhost","root","");
mysql_select_db("upload");
mysql_query("DELETE FROM datoteke WHERE imeDatoteke=$ime");
mysql_close();
echo "<strong>Podatki so bili zbrisani!</strong>";
}
?>
<input name="imeDatoteke" type="text" />
<input type="submit" name="zbrisi" value="Zbriši" />
and the database:

imeDatoteke='$ime'