Back Command

greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread

Hello, I would like to add a "Back" command in my footer, instead of having my customer use the back command on thier browser to get back. Thanks in advance, Bill

-- Bill Ordiway (jje@jje.net), July 07, 1998

Answers

In S-mart.cgi look for the following code.. ----------------------------- #Print the HTML footer sub print_footer { . . close(FOOTER); --------------------------------- Right after the close(FOOTER), add the following line of code. print "
Back"; This should take the user to the previous page. Tom

-- Tom (Please@reply.here), July 07, 1998.

Yikes, looks like the HTML took over.

Barry, could you please correct?

Thanks, Tom

-- Tom (Please@reply.here), July 07, 1998.


Tom, Don't worry. You can see your answer if you just View the Source on this page.

-- Bob M (bob@mckennaweb.com), March 15, 1999.

Moderation questions? read the FAQ