dineshthakur Posted July 22, 2009 Share Posted July 22, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/166926-hello-everybody/ Share on other sites More sharing options...
dzelenika Posted July 22, 2009 Share Posted July 22, 2009 Could you show stucture of your tables Quote Link to comment https://forums.phpfreaks.com/topic/166926-hello-everybody/#findComment-880119 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.