How are you relating the address to the user?
there should be a column in the address table that creates a relationship to the user that the address belongs to, you would need to create a joined query using this relational column and add the where clause using ckey query sting variable.
See the following page for details on creating a join query to get related information from 2 tables:
Thanks for the link, but it won't help. My issue is more complex than what w3 can do and less difficult than what is really happening. Once again, please look at my code that I pasted in the first post. The CKEY is the customer listing. The address comes from the "contact" table, so, both the address and the listing info is already on this page. How do I change the map code so that it's picking up the CKEY
do I need to put WHERE CKEY= "the CKEY already connected to their record"
this is already defined on my page that I want to display the map by member:
$url = INSTALLPATH . "fullpage.php?ckey=" . $ckey;
$AddressSet = mysql_query($query_AddressSet, $mappie) or die(mysql_error());
$row_AddressSet = mysql_fetch_assoc($AddressSet);
$totalRows_AddressSet = mysql_num_rows($AddressSet);
ACTUALLY JOIN will not work. This is a session parameter based on the url.
I have to pick up the URL CKEY=36 and have that affect the map. Joining will just give me the same map over and over again since it's a preset query.
So, how do I get my map to show the address that is based on the CKEY already set in the PHP?