<?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>ajax paging &#8211; Selman Tunc</title>
	<atom:link href="https://selmantunc.com.tr/tag/ajax-paging/feed/" rel="self" type="application/rss+xml" />
	<link>https://selmantunc.com.tr</link>
	<description></description>
	<lastBuildDate>Tue, 07 Sep 2010 00:41:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>

<image>
	<url>https://selmantunc.com.tr/wp-content/uploads/2023/07/cropped-tumblr_inline_oglumuMbgO1tyldvk_540-150x150-1-32x32.jpg</url>
	<title>ajax paging &#8211; Selman Tunc</title>
	<link>https://selmantunc.com.tr</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>php for Ajax- jquery pagination ,php AJAX sayfalama</title>
		<link>https://selmantunc.com.tr/uncategorized/php-for-ajax-jquery-pagination-php-ajax/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 07 Sep 2010 00:41:00 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ajax paging]]></category>
		<category><![CDATA[jquery paging]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php paging]]></category>
		<category><![CDATA[php sayfalama]]></category>
		<guid isPermaLink="false">http://selmantunc.com.tr/2010/09/07/php-for-ajax-jquery-pagination-php-ajax/</guid>

					<description><![CDATA[Hi, this week, using jquery, php, ajax and we will do the paging and data capture, Ajax paging and paging with Ajax examples here will tell us.While this writer Erin&#8230;]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" title="paging" src="http://www.selmantunc.com/labs/paging/paging.jpg" alt="" width="472" height="223" /><br /><br />Hi,  this week, using jquery, php, ajax and we will do the paging and data  capture, Ajax paging and paging with Ajax examples here will tell us.<br />While this writer Erin muharrem &ldquo;kgpager&rdquo; and we used Ezsql class,<br />Online test: <a href="http://www.selmantunc.com/labs/paging/">here</a>
<br />Click here to <a href="http://www.selmantunc.com/?file_id=103">download</a> &hellip;<br /><a name="more"></a>
<br />Turkish Text :<br />Merhabalar , bu hafta jquery ve php kullanarak ,ajax ile sayfalandırma ve bilgi çekmeyi yapacağız, Ajax sayfalama ve ajax ile sayfalama örneğimizi burada anlatacağım.<br />bunu yazarken muharrem Erin  &ldquo;kgpager&rdquo; ve Ezsql sınıfını kullandık ,<br />Online test:için <a href="http://www.selmantunc.com/labs/paging/" target="_blank" rel="noopener">Buraya tıklayınız</a>
<br />İndirmek için <a href="http://www.selmantunc.com/?file_id=103">buraya tıklayınız</a>
<br />[dm]103[/dm]<br /><br />index.php<br /><pre class="brush:php">STNC AJAX PAGING--selman tunç<br />&lt;!--<br />#content<em> ul {<br />background-color:#000;<br />height:30px;<br />list-style:none outside none;<br />margin:10px 0;<br />padding:0 0 0 50px;<br />}#content</em> ul li {<br /><br />color:#FFFFFF;<br />float:left;<br />font:bold 14px Georgia,"Times New Roman",Times,serif;<br />padding:5px 10px 0;<br />}<br />--&gt;<br /><!--mce:0--><br /><!--&gt;<br />mce:1--><br /><div id="content_"><br />get_var("SELECT count(Id) FROM news");<br /><br />                $kgPagerOBJ = &amp; new kgPager();<br />                $kgPagerOBJ-&gt;pager_set($pager_url, $total_records, $scroll_page, $per_page, $current_page, $inactive_page_tag, $previous_page_text, $next_page_text, $first_page_text, $last_page_text, $pager_url_last);<br /><br />                $sql = "SELECT <em> from news  ORDER BY  Id asc limit ".$kgPagerOBJ-&gt;start.", ".$kgPagerOBJ-&gt;per_page;<br />                $contents = $db-&gt;get_results($sql, ARRAY<em>A);<br />                if ($contents != '') {<br />                    foreach ($contents as $content) {<br />  echo '<strong>'.$content['news'].'</strong>';<br /> echo'<br />';<br />  echo $content['news'];<br />     echo'<br /><hr />';  <br /><br />      }<br />     }<br /> else<br /> {<br />  echo 'notting value sorry';<br /> }<br />echo '<br />&lt;div id=&quot;content</em>" class="paging"&gt;<br /><ul>';<br />echo $kgPagerOBJ-&gt;first_page;<br />echo $kgPagerOBJ-&gt;previous_page;<br />echo $kgPagerOBJ-&gt;page_links;<br />echo $kgPagerOBJ-&gt;next_page;<br />echo $kgPagerOBJ-&gt;last_page;<br />echo '</ul>
<br /></div>
<br />';<br />?&gt;</div></pre>
<br />ajax_comment.php<br /><pre class="brush:php">get_var("SELECT count(Id) FROM news");<br /><br />                $kgPagerOBJ = &amp; new kgPager();<br />                $kgPagerOBJ-&gt;pager_set($pager_url, $total_records, $scroll_page, $per_page, $current_page, $inactive_page_tag, $previous_page_text, $next_page_text, $first_page_text, $last_page_text, $pager_url_last);<br /><br />                $sql = "SELECT </em> from news  ORDER BY  Id asc limit ".$kgPagerOBJ-&gt;start.", ".$kgPagerOBJ-&gt;per_page;<br />                $contents = $db-&gt;get_results($sql, ARRAY<em>A);<br />                if ($contents != '') {<br />                    foreach ($contents as $content) {<br />  echo '<strong>'.$content['news'].'</strong>';<br /> echo'<br />';<br />  echo $content['news'];<br />  echo'<br /><hr />';  <br /><br />      }<br />     }<br /> else<br /> {<br />  echo 'notting value sorry';<br /> }<br /><br />echo '<br />&lt;div id=&quot;content</em>" class="paging"&gt;<br /><ul>';<br />echo $kgPagerOBJ-&gt;first_page;<br />echo $kgPagerOBJ-&gt;previous_page;<br />echo $kgPagerOBJ-&gt;page_links;<br />echo $kgPagerOBJ-&gt;next_page;<br />echo $kgPagerOBJ-&gt;last_page;<br />echo '</ul>
<br /></div>
<br />';</pre>
<br />config.php<br /><pre class="brush:php">query("set SESSION character_set_client = ".LNG_NAME."");<br /> $db-&gt;query("set SESSION character_set_connection = ".LNG_NAME."");<br /> $db-&gt;query("SET CHARACTER SET ".LNG_NAME."");<br /> $db-&gt;query("SET COLLATION_CONNECTION = '".LNG_OPTIONS."'");<br /><br />if (isset($_GET['page']) &amp;&amp; is_numeric($_GET['page']))<br />    $page  = $_GET['page'];<br />else<br />   $page  = false;<br />$link_label = "";<br />if (!empty($_SERVER['QUERY_STRING'])) {<br />  $params = explode("&amp;", $_SERVER['QUERY_STRING']);<br />  $newParams = array();<br />  foreach ($params as $param) {<br />    if (stristr($param, "page") == false )<br />        {<br />      array_push($newParams, $param);<br />    }<br />  }<br />  if (count($newParams) != 0) {<br />       $link_label = "&amp;" . htmlentities(implode("&amp;", $newParams));<br />  }<br />}<br />//paging conf<br />                $scroll_page = 5; // paging<br />                $per_page = 5; // page total<br />                $current_page = $_GET['page'];<br />                $pager_url = $_SERVER["PHP_SELF"].'?page=';<br />                $inactive_page_tag = 'id="current_page"';<br />                $previous_page_text = '                $next_page_text = 'next page &gt;';<br />                $first_page_text = '                $last_page_text = 'last page &gt;&gt;';<br />                $pager_url_last =$link_label;<br />?&gt;</pre></p>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
