Before you run your update query, have you tried echoing $logintext so you can make sure your variable even has data in it?
Also, I know different people (for different reasons) write their code differently:
This is how you wrote the query:
mysql_query("UPDATE `pasta_data` SET `daily_special` = ($logintext) WHERE `row_id` = '1'");
This is how I would write it:
mysql_query("UPDATE pasta_data SET daily_special = '$logintext' WHERE row_id = '1'");
But that's just me ;-)