FROM category_description WHERE category_description.category_id=$category.category_id";
$category_id = $_REQUEST['category_id'];
$sql = "SELECT * FROM category WHERE category_id=$category_id";
$query = mysqli_query($link, $sql) or die();
$dataFromTable = mysqli_fetch_assoc($query);
$dataFromTabl = mysqli_fetch_assoc($query);
?>
каскад, жойны, Eloquent выбирай ))
Обсуждают сегодня