Esempio n. 1
0
" class="fields">
						<input name="id" type="hidden" value="<?php 
    echo $escolhido['id'];
    ?>
">
						<button name="action" value="update">EDITAR</button>
					<?php 
}
?>
				</form>
			</div>
			<div class="content-table">
				<h2>Dados Servidor</h2>
				<table>
					<?php 
$projects = Projects::selectAll($connect);
?>
					<thead>
						<tr>
							<td><h2>Imagem</h2></td>
							<td><h2>Título</h2></td>
							<td><h2>Link</h2></td>
						</tr>
					</thead>
					<tbody>
						<?php 
foreach ($projects as $project) {
    ?>
						<tr>
						<td><img src="<?php 
    echo $project['image'];