can someone tell me what is wrong with this code. I cant figure out how to incorporate the where command in this sql statement...
$query ="insert into news (news) values('$news\n\n') where username == '$username'";
it should be: .... where username = '$username'"; not .... where username == '$username'";
sorry, you can't use where clause in an insert statement, you have to use an update statement for this query: ...update news set field1 = 'value1', field2 = 'value2',....etc