<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	
	>
<channel>
	<title>
	Comments on: MySQL LOAD DATA Syntax	</title>
	<atom:link href="https://www.krazyworks.com/mysql-load-data-syntax/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.krazyworks.com/mysql-load-data-syntax/</link>
	<description>Networking, Systems Design, and Disaster Recovery</description>
	<lastBuildDate>Tue, 21 Jun 2016 13:00:28 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.7.9</generator>
	<item>
		<title>
		By: Lucas H		</title>
		<link>https://www.krazyworks.com/mysql-load-data-syntax/comment-page-1/#comment-248026</link>

		<dc:creator><![CDATA[Lucas H]]></dc:creator>
		<pubDate>Sun, 31 Mar 2013 15:56:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.comradegeneral.com/SysAdmin/?p=119#comment-248026</guid>

					<description><![CDATA[Hey.. so basically I am trying to get my product listing page to open on a page when I click a product. The code for that is shown below....
 $data = mysql_query(&quot;SELECT * FROM products;&quot;) or die(mysql_error()); 
  while($info = mysql_fetch_array( $data )) 
echo &#039;&lt;a&gt;&quot;&#039;;
At the moment that part is working as its setting the ID in the url to whatever the ID of the product is. Now the problem is that it won&#039;t load the CSS for this. Because for when I change pages switch cases have been used. Now because the ID is constantly changing, I have no idea how to sort this other than put variables in the switch case. The switch case is as shown below.

 @mysql_select_db($database) or die( &quot;Unable to select database&quot;);
    $data = mysql_query(&quot;SELECT * FROM products;&quot;) or die(mysql_error);
while($info = mysql_fetch_array( $data ));
if(isset($_GET[&#039;page&#039;]))
{
switch ($info) {

case &#039;products.php?uid=[ID]&#062;&#039;:
include(&#039;products.php&#039;);
break;
}
}
The switch case is located in the Index.php (which has also been used for the css) where as the products listing is in a different file. Where the coding I just showed for the switch does not work :(.

Any help is greatly appreciated, cheers.
]]></description>
			<content:encoded><![CDATA[<p>Hey.. so basically I am trying to get my product listing page to open on a page when I click a product. The code for that is shown below&#8230;.<br />
 $data = mysql_query(&#8220;SELECT * FROM products;&#8221;) or die(mysql_error());<br />
  while($info = mysql_fetch_array( $data ))<br />
echo &#8216;<a>&#8220;&#8216;;<br />
At the moment that part is working as its setting the ID in the url to whatever the ID of the product is. Now the problem is that it won&#8217;t load the CSS for this. Because for when I change pages switch cases have been used. Now because the ID is constantly changing, I have no idea how to sort this other than put variables in the switch case. The switch case is as shown below.</p>
<p> @mysql_select_db($database) or die( &#8220;Unable to select database&#8221;);<br />
    $data = mysql_query(&#8220;SELECT * FROM products;&#8221;) or die(mysql_error);<br />
while($info = mysql_fetch_array( $data ));<br />
if(isset($_GET[&#8216;page&#8217;]))<br />
{<br />
switch ($info) {</p>
<p>case &#8216;products.php?uid=[ID]&gt;&#8217;:<br />
include(&#8216;products.php&#8217;);<br />
break;<br />
}<br />
}<br />
The switch case is located in the Index.php (which has also been used for the css) where as the products listing is in a different file. Where the coding I just showed for the switch does not work :(.</p>
<p>Any help is greatly appreciated, cheers.<br />
</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Hayden		</title>
		<link>https://www.krazyworks.com/mysql-load-data-syntax/comment-page-1/#comment-247207</link>

		<dc:creator><![CDATA[Hayden]]></dc:creator>
		<pubDate>Mon, 25 Mar 2013 23:10:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.comradegeneral.com/SysAdmin/?p=119#comment-247207</guid>

					<description><![CDATA[I was trying to visit the website www.l4dmaps.com. Unfortunately, each time visit that website, this error shows up:

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 &#039;where `selected`=1 LIMIT 1&#039; at line 1

What&#039;s the problem with that?
Was it the website&#039;s problem or my computer&#039;s?
What&#039;s the best solution/s for it?

tnx!
]]></description>
			<content:encoded><![CDATA[<p>I was trying to visit the website <a href="http://www.l4dmaps.com" rel="nofollow ugc">http://www.l4dmaps.com</a>. Unfortunately, each time visit that website, this error shows up:</p>
<p>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 &#8216;where `selected`=1 LIMIT 1&#8217; at line 1</p>
<p>What&#8217;s the problem with that?<br />
Was it the website&#8217;s problem or my computer&#8217;s?<br />
What&#8217;s the best solution/s for it?</p>
<p>tnx!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: rndmaktn		</title>
		<link>https://www.krazyworks.com/mysql-load-data-syntax/comment-page-1/#comment-246731</link>

		<dc:creator><![CDATA[rndmaktn]]></dc:creator>
		<pubDate>Fri, 22 Mar 2013 09:11:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.comradegeneral.com/SysAdmin/?p=119#comment-246731</guid>

					<description><![CDATA[I have a MySQL Database running on a Linux server with a Users Table, I need to export the information in that table so I can use it on a different MSSQL Server that is running a similar Users table, I would like to create a PHP script that with the press of a button (or on load) prompts me to download the .sql file which contains the information in the Users table. I really don&#039;t know where to start, any help is appreciated.
]]></description>
			<content:encoded><![CDATA[<p>I have a MySQL Database running on a Linux server with a Users Table, I need to export the information in that table so I can use it on a different MSSQL Server that is running a similar Users table, I would like to create a PHP script that with the press of a button (or on load) prompts me to download the .sql file which contains the information in the Users table. I really don&#8217;t know where to start, any help is appreciated.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
