You don't appear to be doing anything with this line of your code. You build a string variable, but you don't call anything like mysql_query($sql) to actually execute the INSERT statement. M is for Murray On Wed, Jan 21, 2009 at 12:34 AM, Chris Carter <chandan9sharma@xxxxxxxxx>wrote: > $sql = "insert into `userstable` (hiddendata) VALUES ('$hiddendata')"; >