All pastes #432094 Raw Edit

Someone

public text v1 · immutable
·published 2007-04-10 01:40 UTC
rendered paste body
	mysql_query("SELECT cat_ID FROM `$table_prefix" . "categories` WHERE cat_name = '" . $category . "'");
	$result = mysql_query($query);
	while($row = mysql_fetch_array($result, MYSQL_ASSOC))
	{
		echo $row['cat_ID'];
	}