Posts by joaohd15 • 3 points
1 post
-
-2
votes1
answer32
viewsQ: how to have a variable take a value from one page and move to another
I have this code below. <?php include '../conexao.php'; $sth = $pdo->prepare('SELECT * FROM comanda'); $sth->execute(); ?> <?php foreach ($sth as $res) { extract($res); ?>…