I believe you are looking for document.write() John -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Virgil Bierschwale Sent: Wednesday, December 20, 2006 11:51 AM To: 'ProFox Email List' Subject: [NF] Writing the xml file using ASP
The PHP code below is basically what I want to do in ASP.. Which ASP command is the same as echo ? Kind of like the fcreate(), fclose() commands in vfp Thanks, Virgil Bierschwale http://www.virgilslist.com http://www.tccutlery.com http://www.bierschwale.com http://www.bierschwalesolutions.com $query = "SELECT location_id, name, lat, lng FROM locations WHERE 1"; $query = mysql_query($query); echo "<locations>"; while ($row=mysql_fetch_assoc($query)){ echo '<location id="'.$row['location_id'].'" name="'.$row['name'].'" lat="'.$row['lat'].'" lng="'.$row['lng'].'"/>'; } echo "</locations>"; ?> -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.15.25/593 - Release Date: 12/19/2006 1:17 PM [excessive quoting removed by server] _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.