teenfront
10-20-2001, 08:28 PM
Hi I know this is probably not strictly the right place to post this but you guys are the best!
I am looking for a script which allows a form to be filled out and the email send with a URL. when clicked this will take the recipitent to a page which includes the form content in the page.
as done here..
http://java.cosmogirl.com/CosmoGirl/scandal/index.jsp
I posted on another good forum and got this answer
>>>>>>>>>>>>>>>>>>>>>>>>>>>
...................you can easily do it, but you would need some database work for it.
What you would actually do is, when the user fills in the content you would save it to a table in the database with a unique ID and email a link to the recipient's address with a link id like this:
http://www.yourteensite.com/scandal/scandal.asp?sc=1256
This way when the recipient visits this page, you would run a sql query like this:
sql="select * from scandal where scid="&sc
And you can display the text like this:
quote:
--------------------------------------------------------------------------------
Town, AL?Big screen cutie Ryan Phillippe risked his life to rescue <%=rs("firstname")%> from a near-death encounter with a leaf-blower. <%=rs("firstname")%>, who had been cleaning leaves off local sidewalks to make extra money, bent over her leaf-blower to clean out a clog when the machine's engines suddenly reversed and began sucking her hair into its grinding machinery. Phillippe, who was in town filming a new movie and happened to be walking by, raced to the girl's aid and began wrestling the malfunctioning machine with his bare hands. With just seconds to go until the machine devoured her entire head, Phillippe managed to free <%=rs("firstname")%> , who immediately collapsed in his arms. She was so shaken that she clung to the actor's well-toned biceps for nearly an hour. Although witnesses report that she seemed almost blissful as Phillippe stroked what was left of her hair.
--------------------------------------------------------------------------------
please help
I am looking for a script which allows a form to be filled out and the email send with a URL. when clicked this will take the recipitent to a page which includes the form content in the page.
as done here..
http://java.cosmogirl.com/CosmoGirl/scandal/index.jsp
I posted on another good forum and got this answer
>>>>>>>>>>>>>>>>>>>>>>>>>>>
...................you can easily do it, but you would need some database work for it.
What you would actually do is, when the user fills in the content you would save it to a table in the database with a unique ID and email a link to the recipient's address with a link id like this:
http://www.yourteensite.com/scandal/scandal.asp?sc=1256
This way when the recipient visits this page, you would run a sql query like this:
sql="select * from scandal where scid="&sc
And you can display the text like this:
quote:
--------------------------------------------------------------------------------
Town, AL?Big screen cutie Ryan Phillippe risked his life to rescue <%=rs("firstname")%> from a near-death encounter with a leaf-blower. <%=rs("firstname")%>, who had been cleaning leaves off local sidewalks to make extra money, bent over her leaf-blower to clean out a clog when the machine's engines suddenly reversed and began sucking her hair into its grinding machinery. Phillippe, who was in town filming a new movie and happened to be walking by, raced to the girl's aid and began wrestling the malfunctioning machine with his bare hands. With just seconds to go until the machine devoured her entire head, Phillippe managed to free <%=rs("firstname")%> , who immediately collapsed in his arms. She was so shaken that she clung to the actor's well-toned biceps for nearly an hour. Although witnesses report that she seemed almost blissful as Phillippe stroked what was left of her hair.
--------------------------------------------------------------------------------
please help