Error thrown

Call to undefined function mysql_fetch_assoc()