Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $sql = "select * from tabela where codsegur = '7562315'";
- $stm = $conexao->prepare($sql);
- $stm->execute();
- $count = $stm->rowCount();
- if ($count > 0) {
- while($row = $stm->fetch()) {
- echo "<a href=caminho/".$row['caminho']."></a>";
- }
- }
Add Comment
Please, Sign In to add comment