Click here to Skip to main content
16,021,172 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I need to save the inserted email id on back end for record.
I am using this code, please suggest any suitable option:
XML
<form method="post" action="newsletter.php">
<label for="email">Your e-mail:</label>
<input type="text" style="wirth: 160px;" value="" id="email"/>
<input type="submit" value="OK" />
</form>
Posted
Updated 9-Sep-15 22:37pm
v2
Comments
Sergey Alexandrovich Kryukov 10-Sep-15 3:39am    
Why? why?!
"Save in notepad" is absurd; this is just the application, and not yours...
—SA
smalizain 10-Sep-15 3:50am    
so where should i save the details much easier please suggest notepad is not mendatory.
Sergey Alexandrovich Kryukov 10-Sep-15 4:29am    
Where? It's up to you.

You are not asking any reasonable question. For "Notepad", "mandatory", "possible", "optional" is not applicable. A phrase can be true, false, good, bad, only when the words make some sense, otherwise it's called "gibberish".

Did you mean to say "save in a text file"? :-)

—SA
smalizain 10-Sep-15 6:37am    
i have a textbox, in which user input his email id once he/she click submit button the entered email id save in a file. whatever the format of file is.
Sergey Alexandrovich Kryukov 10-Sep-15 10:49am    
Then why did you mention "notepad"? Anyway, what's the problem? You don't know how to write files?
—SA

1 solution

Use iostream Reader or Writer. Google this stuff.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900