I have a DB with two tables, ‘listing’ and ‘brokers’. I have it returning rows from listing in a loop and displaying them correctly and all, the row is stored in the variable $result. I want to take $result_ar[‘lastname’] and use it to such the column ‘lastname’ in ‘brokers’ and return the row when it finds the match. How would I do that. I’ve been working on this for a while now with no results.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
[php] mysql_query question | 0 | 52 | January 27, 2005 | |
Using variable in SQL query
|
0 | 195 | January 21, 2005 | |
PHP MySQL question...Noob! | 0 | 54 | October 24, 2005 | |
Query with array
|
0 | 50 | June 29, 2007 | |
Using variable in SQL query | 0 | 73 | January 21, 2005 |