Jump to content

ipuck

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

ipuck's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thank you very much for your answer, unfortunately I didn't built the database, I'm just trying to extract the information. But you answer actually give the idea how to do it. I can easily split the column and use the second code you provide. I didn't know about the BETWEEN code. Thanks again.
  2. I have a database of items as follow: YearColorStyle 2000-2004BlueSoft 2000-2004RedSoft 2000-2004BlueHard 1996-1999BlueSoft 1996-1999RedSoft 1996-1999BlueHard I have no problem looking for all the items of one color or style, but I do have problems looking for items for a certain year. For example if I want "2001"-"Red"-"Soft". How can I make the query to the database? Thanks
  3. Thank you guys for your help!! I add a \  , like wildteen88  suggested and it worked. echo ("<a href= \" somefile.php?value1=$X&value2=$Y&value3=$Z \" >Print View</a>"); Thanks again!!
  4. Hello: I have a file that receives information (variables X,Y,Z) from a link, searches a database and display results. No problem with that. Now I need to use that same information (X,Y,Z) and send it to another page. (A plain page for printing the data) [quote]$X = $_POST['value1']; $Y = $_POST['value2']; $Z = $_POST['value3']; echo ('Data information for variables'); echo ( $X $Y $Z); echo ('<a href="somefile.php?value1=$X&value2=$Y&value3=$Z">Print View</a>'); $strSQL = "SELECT table.* FROM table WHERE field1='X' AND field2='Y' AND field3='Z"; Rest of the file ' if else while ($row = ' [/quote] My problem is that is not no passing the information, in the link only shows: [quote]http://www.mysite.com/somefile.php?value1=$X&value2=$Y&value3=$Z [/quote] and not the value of the variables. What am I doing wrong? I use the same system to get the information in the first place. Thanks for any help
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.