Jump to content

help with displaying the results of drop down menu


maxves1

Recommended Posts

hello,

I have made a drop down menu that fetches results from database, you can see it here:

http://faculty.poly.edu/~yjeanpie/searchcat.php

 

and I have attached the products database print screen with this  topic

The problem I am facing is, I dont kust want to display the selected results but alongwith the selected stuff, say( software : photoshop ) I want it to display the other stuff in the database that is related to the selected stuff, like if i select category software and product as phooshop, i want to display tutorials associated with photoshop, with images associated and other data, i have written the queries for that in mysql, but i dk why it still doesnt retrieve other things, i even tried print_r option, but it displays only the selected stuff and not other queries from database, i have given the drop down form name f1, and even tried $_REQUEST['f1'] and $_GET, $_POST, and even tried foreach loop, but nothing ever works, so I was wondering if its the database fault, or is there some way out of this issue?

Any help would be appreciated, i cant advance with my project without fixing this problem

thx

 

 

[attachment deleted by admin]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.