<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial>Hi all,</FONT></DIV>
<DIV><FONT face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial>I'd like to build an&nbsp;application which allow the user 
to query an external database, for example querying the attribute table in MySQl 
or Access<BR>database, and gets a list of ID. Then&nbsp;I need to query 
the&nbsp;shapefile to highlight all the returned ID.<BR></FONT></DIV>
<DIV><FONT face=Arial>How can I do this?</FONT></DIV>
<DIV><FONT face=Arial>How can I link the returned ID from the external database 
with the shapefile&nbsp;ID?<BR>How can I&nbsp;query the&nbsp;shapefile and 
highlight the results in PHP/MapScript ?</FONT></DIV>
<DIV><FONT face=Arial>Can anyone&nbsp;send me an example?<BR><BR><BR>Thanks very 
much</FONT></DIV>
<DIV><FONT face=Arial>&nbsp;</DIV></FONT>
<DIV><FONT face=Arial 
size=2>____________________________________________________________________</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp; Alessandro 
Cadeddu&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
E-mail: <A href="mailto:acadeddu@crs4.it">acadeddu@crs4.it</A> <BR>&nbsp; CRS4 - 
GIS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>&nbsp; Sesta Strada 
Ovest&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Phone: +39 070 2796.293<BR>&nbsp; Z.I. 
Macchiareddu&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>&nbsp; C.P. 94 - 09010 Uta (CA), 
Italy<BR>____________________________________________________________________</FONT></DIV></BODY></HTML>