It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming PHP and MySQL Forum

small message board

Moderator: Malcolm

small message board

Postby Phate on Thu Sep 22, 2005 3:46 pm

is there a way for someone to type into a form, and have that text printed to a .txt file that will save. Then, is there a way to pull that txt file and display it in HTML?

if I am being unclear, just let me know
Web-Developing since '03
Image
User avatar
Phate
500+ Club
 
Posts: 826
Joined: Sun Nov 21, 2004 4:12 am
Location: 127.0.0.1

Postby webmaster on Thu Sep 22, 2005 6:06 pm

Check out this: LINK
Make sure to check out our TNX Review and Link Vault Review
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden

Postby Phate on Thu Sep 22, 2005 8:49 pm

lol, I already use that for my actual guestbook!
Web-Developing since '03
Image
User avatar
Phate
500+ Club
 
Posts: 826
Joined: Sun Nov 21, 2004 4:12 am
Location: 127.0.0.1

Postby webmaster on Thu Sep 22, 2005 9:34 pm

Can't you just use that script for this thing too, maybe reduce it a bit?
Make sure to check out our TNX Review and Link Vault Review
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden

Postby Phate on Fri Sep 23, 2005 4:26 pm

Let me explain it a little bit better...


I want something like this on one page (leavefeedback.php)
Code: Select all
   <form method="post">
   Name: <br><input type="text" name="name" /><br /> <P>
   Message: <br><textarea rows=5 cols=30 name="message"></textarea><br />
   <input type="submit" name="submit" value="Leave Feedback" />


Then, I want to be able to see what they submitted on a page like "feedback.php"


Any way to do this?
Web-Developing since '03
Image
User avatar
Phate
500+ Club
 
Posts: 826
Joined: Sun Nov 21, 2004 4:12 am
Location: 127.0.0.1

Postby webmaster on Fri Sep 23, 2005 10:04 pm

It can't be too hard to edit that other script, just remove the part which prints out the info, and on feedback.php, remove the part where the form is.
Make sure to check out our TNX Review and Link Vault Review
User avatar
webmaster
Site Admin
 
Posts: 2695
Joined: Tue Aug 17, 2004 1:07 pm
Location: Sweden


Who is online

Users browsing this forum: No registered users and 0 guests