Nov 8, 2009

Help With Moving Html Form Results To Shopping Cart?

free web hosting
Open Discussion > MODERATED AREA > Computers > Programming Languages > PHP Programming

Help With Moving Html Form Results To Shopping Cart?

PlugComputers
Hello All-

So I think I'm tackling a pretty big project here and was looking for some help... I am fairly new to extensive coding (beyond HTML and a little bit of JavaScript) and wanted to know how I can recall HTML form results on the next page (in a shopping cart) with a price based on the choices picked in the form. It sounds complicated...look at this example:

Check out this page: http://www.plugcomputers.com/intelprobuild.php

See how when the user goes through and picks all their computer parts a price at the bottom shows the system price based on their selections, thats good. Currently I have it set up where when they click submit, it goes through my form processor and I get an email with their form results. This is good, but I was looking for a way where I can take the price total at the bottom, AND the choices they have selected and put them into a shopping cart, where it can later be purchased. Understand what I'm going for here?

I know this may be a bit extensive, but if there is someone who knows they could handle this we would be willing to pay if you helped get this system setup.

Thanks-

 

 

 


Comment/Reply (w/o sign-up)

Saint_Michael
Although I don't have an enough knowledge for this, but couldn't you look at the current shopping cart systems and see if this is a feature at all, I know what you talking about ie dell, alienware, apple websites that do this. I think it would have to with setting up echo statements for each selection and a if statement saying that if these options are selected then display them here.

Comment/Reply (w/o sign-up)

alex7h3pr0gr4m3r
Could you elaborate on what exactly you have now? In terms of your site that is. And do you have PHP?

Comment/Reply (w/o sign-up)

PlugComputers
The site right now is pretty much strictly HTML, its fairly basic all around. The forms are setup with a PHP mailer that sends the results to my email. The price calcualations on the form pages is done via some JavaScript. If your right click ---> View Source you can see it, its a pretty simple calculator like thing to load the price at the bottom...

Any suggestions on how I could get this shopping cart implimented?

Comment/Reply (w/o sign-up)



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

This textarea will convert to Rich-Text automatically (IE, Firefox, Chrome)

Similar Topics

Keywords : moving, html, form, results, shopping, cart,

  1. Weird Formatting: Embedding Php Into Html
    (10)
  2. Html Form!
    Using MySQL?! (4)
    Hey, I need your help again! I need some good working tutorial how I can update my SQL through HTML
    form. I did use some tutorials online found with the help of google; but they do not work properly;
    I mean there are still small mistakes. I need to have a good tutorial to follow. It should be
    based on security and more things. It has to be done in proper way.......
  3. How Do I Get The Result To "stick" And Add Html Tags?
    Help please? (14)
    $changepage = $_REQUEST ; echo " $changepage "; ?> Okay, I need a way for any
    information typed in my textarea to "stick" on the page in which it "posts". Since I am creating a
    way for my registered users to decorate their "homepages". So any help, tutorials, etc. would be
    greatly appreciated. ^^ Thanks.....
  4. File Checker-how To Check File Whith Html Through Html?
    (2)
    edit:sorry for the mistake it is php not html and its with not whith my code checking script= CODE
    $file = '$CHECK'; if (file_exists($file)) {     echo "The file $filename exists"; } else
    {     echo "The file $filename does not exist"; } ?> my question is how to check the file whith
    html example:on a page a text box is provided and a button the user writes a file name (or website)
    the user clicks on the submit button then it checks and show it (with the code above) i got the
    code CODE $filename=$_POST ; if (file_exists($filename)) {     echo "The....
  5. Html Code Tester. Online Script
    (15)
    Yes, yes. I have another script that I have written and I am distributing. I am not entirely sure if
    this works. I have not tested it yet, but I will later and post back with a demo and fix it up.
    Current script: CODE //Save this as something like htmltest.php function CheckForm() {
    $html_unsafe=$_POST ; //Gives us our user input $html_safe=str_replace(" //Starts security measures
    $html_safe=str_replace("?>"," ",$html_safe); //User input now secure server side //Still security
    issues client side echo $html_safe; //echos our statement } //End function //Main script....
  6. Html Site With Login
    Is it possible? (2)
    Hello. I´m building my own site and I need some help... Is it possible to use a login sistem in php
    and mysql database in a html site? ....
  7. Script To Translate Into Bbcode From Html Tags
    (1)
    I was wanting to know how to make a form like they use here for the website form. I want to be able
    to turn stuff in to bbcode. If you know how or would be willing to write the script for me could
    you email me. will@darkzone3.com . I am william to give all credit to who ever makes it. and i can
    put a link back to a site if you want. Please be specific with the topic title. "Help" is never a
    good topic title. This is explained in our forum rules. Title modified. ....
  8. To Search Within Search Results
    To search within search results (0)
    Is there a good and efficient way of searching within previously searched records using PHP/MySql? I
    tried searching on google with several keywords like nested search, search within results, recursive
    search with PHP and MySql, haven't got a clue so far yet. But I thought it might be just storing
    previously queried sql statements and to a select on it each time the search button is called? Any
    ideas?....
  9. <?php ?> Marking Up With Php
    How to simply add HTML tags with PHP (0)
    Just a simple function to mark your queries /smile.gif" style="vertical-align:middle" emoid=":)"
    border="0" alt="smile.gif" /> CODE $uzorak = 'Hosting credit'; //use post to get
    $uzorak variable $tapeti = "Hosting credits are collected by posting at the forums. The hosting
    credits are given after your posts are filtered and depending on its size, you get proportional
    hosting credits. Once you get the required credits you can post an application for hosting. One of
    our admins will then approve your application after which you can register an account at ht....
  10. <?php ?> Get Search Results To Your Localhost
    Simple way to get 100 results without allowing cookies (3)
    Ultimately simple script that allows you getting google search results to your localhost. This is
    the first part of the Crawler script i'm developing, and if you are interested in developing the
    script with me, IM me @icq328866661@msn/evil_matak/ a \hotmail-com. Here's the form part...
    QUOTE search.php QUOTE if (@$_POST ==""){ echo "What are you doing?"; } else{
    $query = file_get_contents("http://www.google.com/search?q=".urlencode($_POST
    )."&num=100&hl=en&ie=UTF-8&filter=2"); //needs to be added with more queries $replace_array =
    array(....
  11. How To Group Mysql Results In A List
    (1)
    Ok so I have an array that I would like to group by date. When I use the group by in a mysql query
    it only shows one record with that value. However I want to show all the records grouped by date.
    This is what I have so far.


    CODE $completedprojectsresults=mysql_query("SELECT req....
  12. Help With Some Website Coding
    Databases and saving form results (4)
    Hey all, I was looking for some help with creating my new website. I have a form already created,
    with some text areas, checkboxes, drop down menu's, ect. I need some help setting up the code to
    save the form data once the user clicks "Submit" after filling in their information in the form. I
    was hoping to do this 2 ways - 1. Saving the information into some type of database (MySQL I'm
    guessing?) and 2. Have the form results emailed to me. I am familiar with the old way of emailing
    the results by putting "mailto:email@domain.com" into the form, but new browse....
  13. Display MySQL results in a Table
    question (8)
    hi all i know php and my sql i want to know how can show mysql result in this tabel for example :
    CODE                    1          8                    2          9          
             3          10                    4          11                    5          12
                       6          13                    7          14      this table
    show result in 2 columns . Is it imposible to show result in this tabale with 1 query ? Just paste
    query here thanks all ....
  14. [help]: Php To Html (static) Converter
    I need help to use PHP to HTML Conversion (3)
    Hello Guys, I want to use PHP 2 HTML Conversion for my PHP-Nuke CMS And my PHPbb or IPB Forum, but
    don't know or does't have any idea about it. If any know about it than please tell me. In
    Trap17.com forum PHP to HTML (Static) conversion example is their, you can see it on your Address
    bar, Same thing i want to use with my PHP Codes........ Thanks in advance, i am waiting for your
    suggestion....
  15. Moving Members From On Fourm To Another.
    How do I put current members on one board onto a new board? (5)
    So I'm helping out www.toycamera.com set up a new fourm, just to see how it goes. They have a
    very old fourm system, and I was helping out moving them to a SMF system. My only problem is,
    getting all the current members on the SMF board with out having them to register again. Anybody
    know how I can do this with SQL i'd image?....
  16. Logging Dowload Files From Your Server Onto A Html File
    (1)
    Well, i had the idea of logging the downloads from my web in a html file few weeks ago, and i solved
    it with a lil php page included in my homepage. You could name the links with a name like
    "download.php?file=filename.ext" and then, in the download.php put the next code: (well you put
    the html and head and body tags if u want, i only write the php here) CODE if (isset($_GET ))
    $file=$_GET ; //so it gets the GET data from url (file=filename.ext); $ip=$_SERVER ;
    $file=fopen('download_log.html','a'); $date=date('d-m-y H:i:s'); $text="
    ".$....
  17. Php And Disabling Html Tags
    how can i do this? (11)
    Hello everyone Im TRYING to make a forum and obviously for security i need to disable HTML tags
    being used in posts. i know how to use the str_replace() function but to be honest i think id have
    to do that for every single tag. I also trued using the html CODE stuff tag but i need to
    be able to use the new line tag to make a new line as all the posts are stored as HTML. if this isnt
    clear let me give an example: QUOTE NEW POST PAGE > user makes new post and posts it > PHP
    PROCCESSOR PAGE MAKES HTML FILE > NEW HTML FILE CONTAINING THE POST > user veiws ....
  18. Parsing Html As Php
    and XAMPP as the server version on Windows (7)
    On my Trap17 account here, I have an .htaccess file with the following declaration which (I think)
    forces all html files to be parsed by the PHP Parsing engine and therefore I can insert snippets of
    php scripts into html files. CODE AddType application/x-httpd-php .html .htm However, when I
    add an .htaccess file to the local directory of the version of XAMPP on my local machine, it fails.
    I have tried to add the .htaccess file to the htdocs folder and elsewhere, but it still doesn't
    work to parse html through the php parser. Any ideas on how to get these htm....
  19. Adapting Html Code Embed To Work On Phpnuke
    Help With This Html Code Pls (7)
    QUOTE how can get this html code to work on my phpnuke site? what tags would i
    have to enable in the $Allowable HTML part of my config.php file?? Edited topic title. Moved to
    Programming. ....
  20. Php And Asp.net Form
    server control html component (6)
    does this sort of feature can be done in php. http://www.w3schools.com/aspnet/aspnet_forms.asp or
    how and what are the differences.. thanks /huh.gif' border='0' style='vertical-align:middle'
    alt='huh.gif' /> ....
  21. Html Within Php Coding
    Is there a way to read HTML Code? (11)
    Is there a way to have PHP read a text file, which contains HTML Code, not text to display. This
    way i have a simple code in every page, linking to this text file, and then if i'm wanting to
    change the code, i only need to change the code in the text file. If that all makes sense?
    /biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /> I get the feeling it
    can be done, but the only code i have seen is one that displays the contents of the text files.....
  22. Php/mysql Search Engine Help
    Having issues displaying results (1)
    I've been using a tutorial
    (http://www.devarticles.com/c/a/MySQL/Developing-A-Site-Search-Engine-With-PHP-And-MySQL/) at this
    address to help me get started on building my own search engine. I've completed the tutorial but
    when I run the search, I get no results on the results page. I'm wondering if anyone will take a
    look at this script and see if they can figure out why my I'm not getting any results displayed.
    I'm using phpMyAdmin to build the database and simple notepad to build the PHP script. CODE
    $submit = $_POST ; $keywords = $_POST ; ....
  23. Parsing .html Pages
    (9)
    This isn't really that urgent but I was wondering, I read somewhere that you can configure you
    server to pars all html pages for php code, and I was wondering if that was true, and if trap17 has
    that feature enabled?....
  24. Basket/cart System?
    (1)
    well i need a basket system whereby it tells you on the side how many items are in your basket and
    then u click on checkout and it goes to checkout. and scripts out there? i know i have to use
    arrays and stuff but i am not too comfortable with them! Kvarnerexpress....
  25. Best Php/html
    (2)
    I'm wondering what open source converters are out there already. I'm generating legal
    documents that require names addresses etc. I want the ability for the end user to modify the base
    document whenever they require. I plan to use the TinyMCE WYSIWYG editor to let the users edit each
    page. I will populate names and addresses dynamically based on tags in the text. Is there something
    good out there that will convert the html to pdf reliably? ....
  26. Help Importing Mysql Database Results
    Need help formatting link (3)
    I am having trouble formatting my table to display the results of a mySQL query the way I want.
    Here is the part of my code: CODE $result = mysql_query("SELECT * FROM uploads WHERE
    Category='Drama'") or die(mysql_error()); ?> Title Author File // keeps getting
    the next row until there are no more to get while($row = mysql_fetch_array( $result )) { // echo "
    "; echo $row ; echo " "; echo $row ; echo " "; echo $row ; echo " "; } echo " "; I want to
    make 'Title' show as a hyperlink to 'File' but am at a loss as to how to d....
  27. Executing Scripts Without Include() Function
    php function to execute a script w/o showing html markup (3)
    Hi guys. I have another newbish PHP question. /laugh.gif' border='0' style='vertical-align:middle'
    alt='laugh.gif' /> Today, I decided to make a new navigation bar for my site. It doesn't look
    good because I just started learning Flash today, so I was basically feeling my way around the
    application. Anyways, if you use Flash and you try to validate your site at http://w3.validator.org
    , you get a lot of errors for some weird reason. So I was thinking about separating the markup for
    embed Flash from the rest of the site's source code. The problem with that i....
  28. Php Shopping Cart
    does anyone know which is best (3)
    the site i'm working on wants a shopping cart but i'm wondering which one would be best for
    a small site that wants to use paypal as a means of payment but have it integrated into their site.
    I've looked around and there are tons of them. Just don't want to work setting one up that
    will turn out to be the wrong one. Wants to know if anyone has ever set one up??? round ....
  29. Html Font Tags In Php
    editing fonts using html? (11)
    I have a php script thats is fully written in php (no html at all). Now for my question, how can i
    edit the fonts? Ill make it easier to understand, the following is a data script (found the
    script): CODE $mese ="-"; $mese ="January"; $mese ="February"; $mese ="March"; $mese ="April";
    $mese ="May"; $mese ="June"; $mese ="July"; $mese ="August"; $mese ="September"; $mese ="Octobre";
    $mese ="November"; $mese ="December"; $giorno ="Sunday"; $giorno ="Monday"; $giorno ="Tuesday";
    $giorno ="Wednesday"; $giorno ="Thursday"; $giorno ="Friday"; $giorno ="Saturday"; $gis....
  30. Html Frames
    how do i wrap html into php (7)
    hi all what i want to know is does anybody know a way to input html code into php /blink.gif"
    style="vertical-align:middle" emoid=":blink:" border="0" alt="blink.gif" /> because i want to bulid
    a website using frames but i wish for with to run using php or if theres a way of creating frames
    using php that would be better for me. if any of u people got some good advice or links please
    reply. Thanks /ph34r.gif" style="vertical-align:middle" emoid=":ph34r:" border="0"
    alt="ph34r.gif" />....

    1. Looking for moving, html, form, results, shopping, cart,
Similar
Weird Formatting: Embedding Php Into Html
Html Form! - Using MySQL?!
How Do I Get The Result To "stick" And Add Html Tags? - Help please?
File Checker-how To Check File Whith Html Through Html?
Html Code Tester. Online Script
Html Site With Login - Is it possible?
Script To Translate Into Bbcode From Html Tags
To Search Within Search Results - To search within search results
<?php ?> Marking Up With Php - How to simply add HTML tags with PHP
<?php ?> Get Search Results To Your Localhost - Simple way to get 100 results without allowing cookies
How To Group Mysql Results In A List
Help With Some Website Coding - Databases and saving form results
Display MySQL results in a Table - question
[help]: Php To Html (static) Converter - I need help to use PHP to HTML Conversion
Moving Members From On Fourm To Another. - How do I put current members on one board onto a new board?
Logging Dowload Files From Your Server Onto A Html File
Php And Disabling Html Tags - how can i do this?
Parsing Html As Php - and XAMPP as the server version on Windows
Adapting Html Code Embed To Work On Phpnuke - Help With This Html Code Pls
Php And Asp.net Form - server control html component
Html Within Php Coding - Is there a way to read HTML Code?
Php/mysql Search Engine Help - Having issues displaying results
Parsing .html Pages
Basket/cart System?
Best Php/html
Help Importing Mysql Database Results - Need help formatting link
Executing Scripts Without Include() Function - php function to execute a script w/o showing html markup
Php Shopping Cart - does anyone know which is best
Html Font Tags In Php - editing fonts using html?
Html Frames - how do i wrap html into php

Searching Video's for moving, html, form, results, shopping, cart,
See Also,
advertisement


Help With Moving Html Form Results To Shopping Cart?

Affordable Web Hosting, Low cost Web Hosting - ComputingHost.com