Insert code makes no insert php
<p>I have a poke-like application and it doesn't seem to be inserting into the table 'pokes'. </p>

<p>Despite my code looking and seeming fine, it doesnt seem to be showing any sign?
Any ideas?</p>

<pre><code>if (@$_POST['poke']) {
  $check_if_poked = mysql_query("SELECT * FROM pokes WHERE user_to='$username' AND user_from='$added_by'");
$num_poke_found = mysql_num_rows($check_if_poked);
if ($num_poke_found == 1) {
 echo "Come on! Give the guy a chance!";
  }
 else
 if ($username == $cookie) {
 echo "You cannot Jab yourself.";
 }
 else
  { $poke_user = mysql_query("INSERT INTO pokes VALUES ('', '$cookie', '$username')") or trigger_error(mysql_error());
 echo "$username has been jabbed.";
  }
</code></pre>

<p>}</p>
