#1
  1. No Profile Picture
    Steve Schofield
    Guest
    ASP Mastermind (5000+ posts)

    How to pass/pull two values from the database (simple for most i'm sure)


    <i><b>Originally posted by : Shannon Wilson (swilson@purebredindustries.com)</b></i><br />This probably comes easy to most of you, but I'm a beginner. I want to pass two values I guess is the way to say it. When a customer clicks on a link that is stored in the database... I want that link to pull a certain product id(1st value) and also just pull a certain category(2nd value) of the the certain product.<br />the link in the browser should look something like this>> http://crweb1/cattle/cattle.asp?CU_ID=1&Category=01B2<br /><br /><br />PLEASE HELP<br /><br />Thank you !
  2. #2
  3. No Profile Picture
    Steve Schofield
    Guest
    ASP Mastermind (5000+ posts)
    <i><b>Originally posted by : hi swilson (swilson@purebredindustries.com)</b></i><br />In to the same link u can array of information into another page with the same name each value is identified as like this <br /><br />http://crweb1/cattle/cattle.asp?CU_ID=1&cu_id=ijk&cu_id=01B2<br />each value will be recognized like this <br />cu_id(1), cu_id(2) , cu_id(3)....<br /><br />have a nice programming<br /><br /><br />------------<br />Shannon Wilson at 5/15/2001 11:26:05 PM<br /><br />This probably comes easy to most of you, but I'm a beginner. I want to pass two values I guess is the way to say it. When a customer clicks on a link that is stored in the database... I want that link to pull a certain product id(1st value) and also just pull a certain category(2nd value) of the the certain product.<br />the link in the browser should look something like this>> http://crweb1/cattle/cattle.asp?CU_ID=1&Category=01B2<br /><br /><br />PLEASE HELP<br /><br />Thank you !
  4. #3
  5. No Profile Picture
    Steve Schofield
    Guest
    ASP Mastermind (5000+ posts)
    <i><b>Originally posted by : yes (yes_damani@yahoo.com)</b></i><br /><br />hi<br />u can use following code for <br /><br />& "<td><A Href = ""singlebook.asp?item=" & rsbook("book_code") & """>"_<br /> & rsbook("book_desc")_ <br /> & "</A></td>"_<br /><br /><br />u may try following code <br /><br /><br />------------<br />Shannon Wilson at 5/15/2001 11:26:05 PM<br /><br />This probably comes easy to most of you, but I'm a beginner. I want to pass two values I guess is the way to say it. When a customer clicks on a link that is stored in the database... I want that link to pull a certain product id(1st value) and also just pull a certain category(2nd value) of the the certain product.<br />the link in the browser should look something like this>> http://crweb1/cattle/cattle.asp?CU_ID=1&Category=01B2<br /><br /><br />PLEASE HELP<br /><br />Thank you !

Similar Threads

  1. simple Connection to database without dsn
    By Steve Schofield in forum ASP Development
    Replies: 1
    Last Post: August 10th, 2001, 01:59 PM
  2. help how to calculate values retrieved from database
    By Steve Schofield in forum ASP Development
    Replies: 1
    Last Post: April 26th, 2001, 04:29 AM
  3. access a database and select specific strings and values
    By Steve Schofield in forum SQL Development
    Replies: 0
    Last Post: February 22nd, 2001, 01:49 PM
  4. formating values from database in table
    By Steve Schofield in forum ASP Development
    Replies: 1
    Last Post: January 17th, 2001, 08:34 PM
  5. Trying to insert values into an autonumbered database.
    By Steve Schofield in forum ASP Development
    Replies: 1
    Last Post: November 22nd, 2000, 01:53 PM

IMN logo majestic logo threadwatch logo seochat tools logo