Skip to content

Instantly share code, notes, and snippets.

@erick-jeronimo
Created April 5, 2019 21:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erick-jeronimo/a15f633dd90aeefa45bcc43ba8060cbe to your computer and use it in GitHub Desktop.
Save erick-jeronimo/a15f633dd90aeefa45bcc43ba8060cbe to your computer and use it in GitHub Desktop.
<?php
session_start();
include '../../utils/bd.php';
include '../../utils/valida_login.php';
$stmt = $conn->prepare("SELECT * FROM cliente
WHERE idcliente = :id ");
$stmt->bindParam(':id', $_REQUEST['id']);
$stmt->execute();
$result = $stmt->fetch(PDO::FETCH_ASSOC);
?>
// formulario html igual ao salvar ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment