SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    I LOVE THIS SITE ! ! ! DougD's Avatar
    Join Date
    May 2000
    Location
    San Diego, CA
    Posts
    463
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHP Coding Help...

    Hi All,

    At my site DotDealers.com, I would like to add the following function on the ordering page (example)...

    I want to add a text box where buyers can enter a code that I provide them in my advertising, if entered correctly will discount the domain 10% on the next page. The box would need to be able to accept more than one code so I can use it to track different ad responses.

    Anybody know how to accomplish this?

    Thanks a lot,

    Doug Dillard

  2. #2
    Serial Publisher silver trophy aspen's Avatar
    Join Date
    Aug 1999
    Location
    East Lansing, MI USA
    Posts
    12,937
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just submit the code to the next page, check it against a list, and adjust the price accordingly. The coding wouldn't require anything complicated. Just variable passing, conditional statements, and basic math.
    Chris Beasley - I publish content and ecommerce sites.
    Featured Article: Free Comprehensive SEO Guide
    My Guide to Building a Successful Website
    My Blog|My Webmaster Forums


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •