can someone help me on how to remove spaces in my sql.for exmaplelet say i type in "I am a good boy"... i want it to save in my mysql table column as "iamagoodboy" removing all spaces of anything i send.. where in this code below can i do this, thanks very much\[code\]$sql = 'INSERT INTO messages (username,usernameto, message_content, message_time) VALUES ("' . $username . '", "' . $messageTo . '", "' . $message . '", ' . $time . ')';$result = mysql_query($sql, $cn) ordie(mysql_error($cn));\[/code\]