All pastes #929717 Raw Edit

Stuff

public text v1 · immutable
·published 2008-03-05 23:13 UTC
rendered paste body
	function getPosts() {
		$return = mysql_query("SELECT * FROM posts");
		while ($result = mysql_fetch_assoc($return)) {
			echo $result['title'];
		}
	}