Currently - when you add a product to your quote it takes you to the cart and shows you everything you hasve ordered. I want to just add it to the order without leaving the page I am on. Can I do this?? Easily??
The code when I click to add something is:
display_button('show_cart.php?new='.($row['productid']), 'add-to-cart', 'Add '
.$row['title'].' To My Quotation');
The way to do this is just use javascript to change the value in the database. But depending on the application there are several ways to do it.
__________________
I rarely give code examples.
No, I have never used IIS or Windows of any kind as a web server. Get a real OS!
Please don't PM me, I won't respond.
I don't want to update the database until the whole quotation is done and the user has entered their details because at this point an orderid is generated. I just want to add the product to the show_cart.php page without going to the page.
Would you like me to post the script pertaining to anything else?
Thanks
Must read Review for Serious PHP Developers
NuSphere PhpED 5.5
: The Staff of php-editors.com recently spent a few days working with NuSphere
PhpED 5.5
(a popular PHP IDE) and
NuCoder 2.0
(a PHP Encoding Utility), read up on all the details.