Jump to content

Hello everybody


dineshthakur

Recommended Posts

I am new to php/mysql. I am using a database provided by someone else. One one page i need to show results with thumbnails. But the images are in a different table. the only common field is ID. But in first query i need to match state and city and from the result i need to find images for those properties from other table where it can be matched with property ID. If i use join then i need to mention state and city as search criteria which are not in second table so i do not get the required results. If i use first select from the first table and try to use another select statement in while loop to get image, it does not work. Please help.

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.