PHP Code: $place = "commented on your <a onClick=\"window.open('".WWW."/member/".$users['username']."','_self'); return false\">profile</a>"; mysql_query("INSERT INTO notifications (userid, place, username, status) VALUES ('$users[id]','$place','$logged[username]','1')"); not insert into database with that $place in but if i change it to jsut text like commented on your profile with no <a> then it will insert ip on sub


