<?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/"
		>
<channel>
	<title>Comments on: Ierakstu dalīšana pa lappusēm</title>
	<atom:link href="http://defektologs.lv/2009/01/24/ierakstu-dalisana-pa-lappusem/feed/" rel="self" type="application/rss+xml" />
	<link>http://defektologs.lv/2009/01/24/ierakstu-dalisana-pa-lappusem/</link>
	<description>Par web izstrādes lietām</description>
	<lastBuildDate>Mon, 22 Feb 2010 23:03:50 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: waplet</title>
		<link>http://defektologs.lv/2009/01/24/ierakstu-dalisana-pa-lappusem/comment-page-1/#comment-5970</link>
		<dc:creator>waplet</dc:creator>
		<pubDate>Sat, 12 Sep 2009 18:08:14 +0000</pubDate>
		<guid isPermaLink="false">http://defektologs.lv/?p=98#comment-5970</guid>
		<description>Atvainojos tomēr viss ir.. biju izdēsis mainot kodu</description>
		<content:encoded><![CDATA[<p>Atvainojos tomēr viss ir.. biju izdēsis mainot kodu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: waplet</title>
		<link>http://defektologs.lv/2009/01/24/ierakstu-dalisana-pa-lappusem/comment-page-1/#comment-5969</link>
		<dc:creator>waplet</dc:creator>
		<pubDate>Sat, 12 Sep 2009 17:57:05 +0000</pubDate>
		<guid isPermaLink="false">http://defektologs.lv/?p=98#comment-5969</guid>
		<description>Hmm a kā uztaisīt lai izvadās visas lapas uzreiz nevis tikai nākamo rāda? nespēju saprast</description>
		<content:encoded><![CDATA[<p>Hmm a kā uztaisīt lai izvadās visas lapas uzreiz nevis tikai nākamo rāda? nespēju saprast</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: waplet</title>
		<link>http://defektologs.lv/2009/01/24/ierakstu-dalisana-pa-lappusem/comment-page-1/#comment-5967</link>
		<dc:creator>waplet</dc:creator>
		<pubDate>Sun, 06 Sep 2009 12:57:31 +0000</pubDate>
		<guid isPermaLink="false">http://defektologs.lv/?p=98#comment-5967</guid>
		<description>OMG Paldies tev mārci.. vis strādā perfekti.. liela buča tev :))</description>
		<content:encoded><![CDATA[<p>OMG Paldies tev mārci.. vis strādā perfekti.. liela buča tev <img src='http://defektologs.lv/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mārcis</title>
		<link>http://defektologs.lv/2009/01/24/ierakstu-dalisana-pa-lappusem/comment-page-1/#comment-5927</link>
		<dc:creator>Mārcis</dc:creator>
		<pubDate>Fri, 26 Jun 2009 11:03:16 +0000</pubDate>
		<guid isPermaLink="false">http://defektologs.lv/?p=98#comment-5927</guid>
		<description>Cerība mirst pēdējā :)
Es, diemžēl, neesmu labdarības organizācija.</description>
		<content:encoded><![CDATA[<p>Cerība mirst pēdējā <img src='http://defektologs.lv/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
Es, diemžēl, neesmu labdarības organizācija.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: druM</title>
		<link>http://defektologs.lv/2009/01/24/ierakstu-dalisana-pa-lappusem/comment-page-1/#comment-5926</link>
		<dc:creator>druM</dc:creator>
		<pubDate>Thu, 25 Jun 2009 21:19:36 +0000</pubDate>
		<guid isPermaLink="false">http://defektologs.lv/?p=98#comment-5926</guid>
		<description>Labi, ceru uz turpmāko sadarbību caur e-mail ;)</description>
		<content:encoded><![CDATA[<p>Labi, ceru uz turpmāko sadarbību caur e-mail <img src='http://defektologs.lv/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mārcis</title>
		<link>http://defektologs.lv/2009/01/24/ierakstu-dalisana-pa-lappusem/comment-page-1/#comment-5925</link>
		<dc:creator>Mārcis</dc:creator>
		<pubDate>Thu, 25 Jun 2009 19:54:38 +0000</pubDate>
		<guid isPermaLink="false">http://defektologs.lv/?p=98#comment-5925</guid>
		<description>Šī raksta komentāri nav īstā vieta, kur mācīties elementārus php pamatus (sintaksi)... Turklāt es tev devu piemēru.
Bāžot visu ar karoti mutē, tu neko neiemācīsies.
&lt;pre lang=&quot;php&quot;&gt;
$sql = &quot;SELECT SQL_CALC_FOUND_ROWS lauks1, lauks2 FROM `tabula`&quot;.$_LIMIT;
$res = mysql_query($sql)or die(mysql_error());
&lt;/pre&gt;
Un ieslēdz tak error_reportingu, citādi neredzi arī sevis ielaistās kļūdas php kodā.
&lt;pre lang=&quot;php&quot;&gt;
ini_set(&#039;display_errors&#039;, 1);
error_reporting(E_ALL);
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Šī raksta komentāri nav īstā vieta, kur mācīties elementārus php pamatus (sintaksi)&#8230; Turklāt es tev devu piemēru.<br />
Bāžot visu ar karoti mutē, tu neko neiemācīsies.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$sql</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">&quot;SELECT SQL_CALC_FOUND_ROWS lauks1, lauks2 FROM `tabula`&quot;</span><span style="color: #339933;">.</span><span style="color: #000088;">$_LIMIT</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$res</span> <span style="color: #339933;">=</span> <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$sql</span><span style="color: #009900;">&#41;</span>or <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">mysql_error</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Un ieslēdz tak error_reportingu, citādi neredzi arī sevis ielaistās kļūdas php kodā.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">ini_set</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'display_errors'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #990000;">error_reporting</span><span style="color: #009900;">&#40;</span><span style="color: #009900; font-weight: bold;">E_ALL</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: druM</title>
		<link>http://defektologs.lv/2009/01/24/ierakstu-dalisana-pa-lappusem/comment-page-1/#comment-5924</link>
		<dc:creator>druM</dc:creator>
		<pubDate>Thu, 25 Jun 2009 19:30:32 +0000</pubDate>
		<guid isPermaLink="false">http://defektologs.lv/?p=98#comment-5924</guid>
		<description>Bet es nevaru uzzināt kļūdu, jo pierakstot klāt mysql_error() man neko neizmet, tas varētu būt tādēļ ka .$_LIMIT ir aiz Pēdiņām... 

Nu man tas kvērijs tad sanāk apmeram šāds:

$sql=”SELECT SQL_CALC_FOUND_ROWS * FROM `tabula` “.$_LIMIT OR DIE(mysql_error());

Viņam tādam arī ir jāizskatās ?</description>
		<content:encoded><![CDATA[<p>Bet es nevaru uzzināt kļūdu, jo pierakstot klāt mysql_error() man neko neizmet, tas varētu būt tādēļ ka .$_LIMIT ir aiz Pēdiņām&#8230; </p>
<p>Nu man tas kvērijs tad sanāk apmeram šāds:</p>
<p>$sql=”SELECT SQL_CALC_FOUND_ROWS * FROM `tabula` “.$_LIMIT OR DIE(mysql_error());</p>
<p>Viņam tādam arī ir jāizskatās ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mārcis</title>
		<link>http://defektologs.lv/2009/01/24/ierakstu-dalisana-pa-lappusem/comment-page-1/#comment-5923</link>
		<dc:creator>Mārcis</dc:creator>
		<pubDate>Thu, 25 Jun 2009 13:26:08 +0000</pubDate>
		<guid isPermaLink="false">http://defektologs.lv/?p=98#comment-5923</guid>
		<description>Ja kļūdu izmet tikai pie mysql_fetch_object(), tad tā nav php sintakses kļūda, bet mysql sintakses kļūda.
Šādas problēmas nereti risina, apskatot kļūdas paziņojumu - &lt;pre lang=&quot;php&quot;&gt;mysql_query(...)or die(mysql_error());&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Ja kļūdu izmet tikai pie mysql_fetch_object(), tad tā nav php sintakses kļūda, bet mysql sintakses kļūda.<br />
Šādas problēmas nereti risina, apskatot kļūdas paziņojumu -</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">...</span><span style="color: #009900;">&#41;</span>or <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">mysql_error</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: druM</title>
		<link>http://defektologs.lv/2009/01/24/ierakstu-dalisana-pa-lappusem/comment-page-1/#comment-5922</link>
		<dc:creator>druM</dc:creator>
		<pubDate>Thu, 25 Jun 2009 11:34:41 +0000</pubDate>
		<guid isPermaLink="false">http://defektologs.lv/?p=98#comment-5922</guid>
		<description>Nu ja es lietoju pirmo variantu tad man nedarbojas mysql_fetch_object, uzmet kļūdu :/</description>
		<content:encoded><![CDATA[<p>Nu ja es lietoju pirmo variantu tad man nedarbojas mysql_fetch_object, uzmet kļūdu :/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mārcis</title>
		<link>http://defektologs.lv/2009/01/24/ierakstu-dalisana-pa-lappusem/comment-page-1/#comment-5921</link>
		<dc:creator>Mārcis</dc:creator>
		<pubDate>Wed, 24 Jun 2009 19:08:48 +0000</pubDate>
		<guid isPermaLink="false">http://defektologs.lv/?p=98#comment-5921</guid>
		<description>druM, tā nevarētu būt, jo php sintakse pieļauj abus variantus, pirmais pat būtu ieteicamāks (tīri stila pēc).</description>
		<content:encoded><![CDATA[<p>druM, tā nevarētu būt, jo php sintakse pieļauj abus variantus, pirmais pat būtu ieteicamāks (tīri stila pēc).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
