2
Contributors
1
Reply
2
Views
6 Years
Discussion Span
Last Post by faroukmuhammad
0

Join the two tables before searching. Soething like this;

SELECT cemetaryid, cemetaryname FROM tableA inner join tableB on tableA.cemetaryid = tableB.cemetaryid WHERE tableA.cemetaryid = $requested_id;

where
1. tableA contains name of cemetaries
2. tableB = headstonesa
3. $requested_id is the requested id

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.