--- In php-list@yahoogroups.com, "Hitesh" <[EMAIL PROTECTED]> wrote:
>
> Hi friends,
> 
>                 I am new to PHP with just one month experience. I 
am facing
> a problem with my feedback FORM PHP SCRIPT.
> 
>  
> 
> =========================================================
> 
>  
> 
> <?php
> 
>  
> 
> $txtname = $_POST['txtname']; 
> 
> $txtemail = $_POST['txtemail']; 
> 
> $txttel = $_POST['txttel'];
> 
> $txtcity = $_POST['txtcity'];
> 
> $txtselect = $_POST['txtselect'];
> 
> $txtcomments = $_POST['txtcomments'];
> 
>  
> 
> $subject = $txtselect; 
> 
> $from = $txtname
> 
>  
> 
> $notes = stripcslashes($notes);
> 
>  
> 
> $message = "From: $txtname ($txtemail)\n
> 
> Tel No: $txttel \n
> 
> City: $txtcity \n
> 
> Type: $txtselect \n
> 
> Comments: $txtcomments \n";
> 
>  
> 
> mail("[EMAIL PROTECTED]", $subject, $message, $from);
> 
>  
> 
> ?>
> 
>  
> 
> =============================================================
> 
>  
> 
> Now the script is working fine, the only thing I want is that when 
I receive
> the email, The FROM section in my Email Inbox should show the name 
of the
> sender , that is 'txtname'
> 
>  
> 
> Please tell me where am I wrong.
> 
>  
> 
> Thanks a lot in advance.
> 
>  
> 
> Waiting for the reply..
> 
> 
> 
> [Non-text portions of this message have been removed]
>







your scripting is correct but i thing your form is somting is wrong 
or not correct posting through your form submition

Reply via email to