[Ajuda] Foreach samp?
#3

Quote:
Originally Posted by Khivory
View Post
Pode dar um exemplo de cуdigo para passarmos para a sintaxe do pawn?
Claro vamos lб, vou usar uma lуgica do gta, ok? Um exemplo no meu banco eu salvei vбrios registros e gostaria de traze-los, eu usaria:
PHP Code:
  $minhavariavel = $bd->query('SELECT * FROM teste');
<?php foreach ($minhavariavel as $item): ?>
           <p>Minha vбriavel й: <?=$item['variavel']?></p>
  <?php endforeach; ?>
Reply


Messages In This Thread
Foreach samp? - by FabioGTP - 12.04.2020, 00:50
Re: Foreach samp? - by Khivory - 12.04.2020, 01:05
Re: Foreach samp? - by FabioGTP - 12.04.2020, 01:09
Re: Foreach samp? - by Khivory - 12.04.2020, 04:18
Re: Foreach samp? - by PT - 12.04.2020, 05:38
Re: Foreach samp? - by RiqueP - 13.04.2020, 03:13
Re: Foreach samp? - by FabioGTP - 20.04.2020, 14:21
Re: Foreach samp? - by RiqueP - 20.04.2020, 15:29

Forum Jump:


Users browsing this thread: 2 Guest(s)