SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    Coding for Jesus LavernGingerich's Avatar
    Join Date
    Jul 2003
    Location
    Tennessee
    Posts
    607
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Desperately trying to change script for PHP!

    I am doing my page in PHP and pulling off of a SQL database. The shopping cart people provided me with the script I need to use to take my product information off the dynamic page and stick it into the cart.

    They say that I need to modify this script to replace the UNIQUE ID in the SQL database with the UNIQUE ID in my inventory items I have set up in the cart. Each product has an add to cart button, and the script is tied to each product of the listing on my web page.

    Now, I don't know how in the world to modify this script to do that. He said that you can do it in php language, but I don't know enough of PHP to be able to change that.

    Can anyone give me some down to earth step-by-step help on this? I would really appreciate it!!

    Lavern
    www.lighthousepublishing.org

  2. #2
    La la la la la bronze trophy lieut_data's Avatar
    Join Date
    Jun 2003
    Location
    Waterloo, ON
    Posts
    1,517
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by LavernGingerich
    Can anyone give me some down to earth step-by-step help on this?
    I'm afraid that's impossible -- you haven't provided the actual database (SQL is a database language), nor the shopping cart

    If you could post some code, from both your PHP scripts, and some database structure, we'd be glad to try to help!

    Cheers
    My name is Steve, and I'm a super-villian.


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
  •