- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
<?php
function is_featured($word_id) {
$sql = "SELECT * FROM `featured` WHERE `featured_id` = '$word_id'";
$results = mysql_query($sql);
if (mysql_num_rows($results)) {
return true;
} else {
return false;
}
}