Camelia,
I'm sure this has nothing to do with your problem, but I am curios: why are you 
setting a void function, mail() into the variable $test?  what is the purpose of that? 
I don't even see in your code where you used $test again?  Please explain...


Angie Tollerson
Alliance Technologies
Web Programmer
(515)245-7628
[EMAIL PROTECTED]

>>> Camelia Moldovan <[EMAIL PROTECTED]> 08/15/01 08:34AM >>>
$sql1="insert into
alegere(ClientId,OfertaId,DomId,DomNume) VALUES
('$id','$host','$tip_dom','$numedom')";
//$sql1="insert into alegere(ClientId) VALUES
('$id')";
$rez1=mysql_query($sql1,$dblnk);


$text="A aparut un nou client cu urmatoarele date de
identificare."."\n"."Nume : ".$nume."\n"."Prenume:
".$prenume."\n"."Firma: ".$firma."\n"."Cod
Fiscal".$codfiscal."\n"."Adresa:
".$adresa1."\n"."Mail: ".$mail."\n"."Telefon:
".$telefon."\n"."Telefon mobil:
".$telefon_mobil."\n"."Nume Domeniu :" .$numedom.$tip;

$test=mail("[EMAIL PROTECTED]","client nou
",$text,  "From: [EMAIL PROTECTED]\n" )          
        $sql=" select cantitate, pret_web from oferta where
ofertaid='$tip_h' ";
        $rez=mysql_query($sql,$dblnk);
        $row=mysql_fetch_array($rez);
        $cant=$row['cantitate'];
        $pret=$row['pret_web'];
        


--- Angie Tollerson
<[EMAIL PROTECTED]> wrote:
> Camelia, We'd really have to see the script itself. 
> It is probably your code in some weird way because I
> use mail() all the time and don't get 2 emails.  
> Show us your code :)
> 
> Angie Tollerson
> Alliance Technologies
> Web Programmer
> (515)245-7628
> [EMAIL PROTECTED] 
> 
> >>> Camelia Moldovan <[EMAIL PROTECTED]>
> 08/15/01 07:01AM >>>
> when I use mail() function in a script I receive 2
> e-mails(??).
> I tried to use die() but it didn't help.
> any ideeas? 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute
> with Yahoo! Messenger
> http://phonecard.yahoo.com/ 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> [EMAIL PROTECTED] 
> For additional commands, e-mail:
> [EMAIL PROTECTED] 
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED] 
> 
> 


__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/ 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED] 
For additional commands, e-mail: [EMAIL PROTECTED] 
To contact the list administrators, e-mail: [EMAIL PROTECTED] 



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to