
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Vidal Quevedo &#187; mysql</title>
	<atom:link href="http://www.vidalquevedo.com/tag/mysql/feed" rel="self" type="application/rss+xml" />
	<link>http://www.vidalquevedo.com</link>
	<description></description>
	<lastBuildDate>Tue, 20 Dec 2011 18:02:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to get the ID of the last insert post in WordPress</title>
		<link>http://www.vidalquevedo.com/how-to-get-last-insert-id</link>
		<comments>http://www.vidalquevedo.com/how-to-get-last-insert-id#comments</comments>
		<pubDate>Mon, 14 Jun 2010 20:53:40 +0000</pubDate>
		<dc:creator>vidal</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.vidalquevedo.com/how-to-get-last-insert-id</guid>
		<description><![CDATA[When programming for WordPress, sometimes you may need to get the ID of the last post that was inserted to the database (à la MySQL's 'LAST_INSERT_ID').  Here's the thing: the wp_insert_post()  function returns the newly inserted post's ID, so you can use it to perform more stuff on the post right away, without having to mess around with any SQL commands to retrieve it. Clever, huh?]]></description>
		<wfw:commentRss>http://www.vidalquevedo.com/how-to-get-last-insert-id/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

