if(is_auth(3, $_SESSION[uId])) ? 


nu ubb aanzetten
edit; Wat is je query?[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"INSERT INTO chat (uId, Ubericht, datum, cid) VALUES ("[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]name[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]","[/COLOR][COLOR= #007700].[/COLOR][COLOR= #0000BB]$_GET[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]text[/COLOR][COLOR= #007700]].[/COLOR][COLOR= #DD0000]", NOW(), NULL)"[/COLOR][COLOR= #007700])[/COLOR] or [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]"Je bericht is toegevoegd!"[/COLOR][COLOR= #007700];[/COLOR]
?> 
mysql_query("INSERT INTO chat (uId, Ubericht, datum, cid) VALUES (".$_GET[name].",".stripslashes($_GET[text]).", NOW(), NULL)") or die(mysql_error()); 