<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Forum — Delete points from database]]></title>
		<link>https://forums.nbn.org.uk/viewtopic.php?id=3757</link>
		<atom:link href="https://forums.nbn.org.uk/extern.php?action=feed&amp;tid=3757&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Delete points from database.]]></description>
		<lastBuildDate>Wed, 11 Jul 2012 12:15:24 +0000</lastBuildDate>
		<generator>PunBB 1.4.6</generator>
		<item>
			<title><![CDATA[Re: Delete points from database]]></title>
			<link>https://forums.nbn.org.uk/viewtopic.php?pid=13849#p13849</link>
			<description><![CDATA[<p>I have a polygon on a web page and a delete button. The polygon is saved in the database in one table and in another table, the coordinates of polygon (latitude,longitude) are saved. When I click the delete button, the polygon in the webpage gets deleted as well as the polygon in database. However the points are not getting deleted.</p><p>I used this code:</p><p>mysqlquery(&quot;DELETE FROM polygon WHERE ID=&quot;.$GET[&#039;ID&#039;].&quot;&quot;) or die(showsqlerrors(mysql_error()));</p><p>I also used:</p><p>mysqlquery(&quot;DELETE FROM points WHERE ID=&quot;.$GET[&#039;ID&#039;].&quot;&quot;) or die(showsqlerrors(mysql_error()));</p><p>But it did not work.</p><p>Could anyone help me out?</p>]]></description>
			<author><![CDATA[null@example.com (gayathris)]]></author>
			<pubDate>Wed, 11 Jul 2012 12:15:24 +0000</pubDate>
			<guid>https://forums.nbn.org.uk/viewtopic.php?pid=13849#p13849</guid>
		</item>
	</channel>
</rss>
