示例#1
0
		<?php 
include 'sessao.php';
require_once 'conexao.php';
if (isset($_GET['codigo'])) {
    $class = new Funcoes();
    $result = $class->consultarCategoria($_GET['codigo']);
    //echo mysqli_num_rows($result);
    while ($row = mysqli_fetch_assoc($result)) {
        $nome = $row['nome'];
        $descricao = $row['descricao'];
    }
}
?>
		
		<!DOCTYPE html>
		<html>
			
			<head>
				<meta http-equiv="content-type" content="text/html; charset=UTF-8">
				<meta charset="utf-8">
				<title>Área Administrativa AKIPOM</title>
				<meta name="generator" content="Bootply">
				<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
				<link href="css/bootstrap.min.css" rel="stylesheet">
				<!--[if lt IE 9]>
					<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
				<![endif]-->
				<link href="css/styles.css" rel="stylesheet">
			</head>
			
			<body>