<?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>An I.T. Problem Shared . . . &#187; PHP</title>
	<atom:link href="http://www.moorlandit.net/index.php/tag/php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.moorlandit.net</link>
	<description>A blog of problems . . . and solutions</description>
	<lastBuildDate>Fri, 17 Jun 2011 11:25:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>PHP Settings on WAMP server</title>
		<link>http://www.moorlandit.net/index.php/2008/08/php-settings-on-wamp-server-19?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=php-settings-on-wamp-server</link>
		<comments>http://www.moorlandit.net/index.php/2008/08/php-settings-on-wamp-server-19#comments</comments>
		<pubDate>Mon, 11 Aug 2008 14:03:32 +0000</pubDate>
		<dc:creator>Steve</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[WAMP]]></category>

		<guid isPermaLink="false">http://www.moorlandit.net/?p=19</guid>
		<description><![CDATA[Problem: We had a PHP/MySQL website which worked fine on the production server but on the testing server running WAMP (Windows-Apache-MySQL-PHP) certain dynamic pages gave us this error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#8221; at [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem:</strong></p>
<p>We had a PHP/MySQL website which worked fine on the production server but on the testing server running WAMP (Windows-Apache-MySQL-PHP) certain dynamic pages gave us this error:</p>
<p><em><span style="color: #000080;">You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#8221; at line 1</span></em></p>
<p><span style="color: #000000;">W</span>e double checked the code and everything looked fine so figured it must be a PHP/MySQL setting on the WAMP server.</p>
<p> </p>
<p><strong>Solution:</strong></p>
<p>Seems that register_long_arrays was not enabled in the PHP settings on the WAMP server. As soon as we enabled them it worked perfectly.</p>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.moorlandit.net/index.php/2008/08/php-settings-on-wamp-server-19/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

