All pastes #746152 Raw Edit

Untitled

public text v1 · immutable
·published 2007-10-22 23:57 UTC
rendered paste body
	  if ($isadmin == 1) {
		echo $_POST['adminClanPost'];
		if ( isset($_POST['adminClanPost'])){
			$dbQuery="INSERT INTO clanposts(postTitle, postDate, postContent, postAuthor) VALUES ('$postTitle', NOW(), '$postContent', '$postAuthor')";
		}
		else {
			$dbQuery="INSERT INTO posts(postTitle, postDate, postContent, postAuthor) VALUES ('$postTitle', NOW(), '$postContent', '$postAuthor')";
		}
	  }