note 100495 deleted from function.exit by danbrown
| From: | danbrown@php.net | Date: | Tue, 19 Oct 2010 19:59:02 +0000 |
| Subject: | note 100495 deleted from function.exit by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-173288@lists.php.net to get a copy of this message | ||
Note Submitter: Erick-Master
----
Isso pode ser usando também em 1 Sistema de Busca
<?php
/* exit() Example -- By: Erick-Master */
class Search
{
public function __construct($Text)
{
$Query - @mssql_query("SELECT account FROM example WHERE
account='".$Text."'");
$Check = @mssql_num_rows($Query);
if($Check < 1)
{
exit("Conta não encontrada");
}
else
{
echo("Conta ".$Text." encontrada com Sucesso");
}
}
}
?>
Abraços...