Well, I gave a SELECT, to pull my data, only I wanted to do the following: If $ category is 1, it would be called World, and if $ category equals 2, it would be called Moon, how can I do that?
Code:
<?php
$conect = mysql_query("SELECT * FROM news ORDER BY ID DESC") or die(mysql_error());
?>
Pulling SELECT:
<?php echo $conect['categoria']; ?>