Verificar no BD Oracle, se já existe valor repetido.
não estou conseguindo fazer o select em php, com o banco, fiz uma sdebug ele me retorna vazio.
alguém poderia me ajudar, como que faço para pegar valor do banco. ja fiz quase de tudo, ainda nao foi.
$sql = new Query($bd);
$sql->clear();
if ($_POST && isset($_POST['usuario'])){
$usuario = $_POST['usuario'];
foreach($usuario as $E){
$rest = substr("'$E'", 0, 11);
$txt = "SELECT CCODIUSUA1 FROM HSSVACINA_DENGUE WHERE CCODIUSUA1 = $rest";
sdebug($sql->executeSQL($txt));
$sql->executeSQL($txt);
echo $txt."<br /><br />";Discussão (1)
Carregando comentários...