Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <pre><code>&lt;?php if($Strkeyword=="" AND $StrLoc=="" AND $StrMinsal=="-1" AND $StrMaxsal=="-1" AND $StrMax_exp=="maximum" AND $Strcategory=="" AND $Strjobtype=="") { $sql=mysql_query("select * from job where AND status='Active'"); } $per_page = 5; $page = 1; if (isset($_GET['page'])) { $page = intval($_GET['page']); if($page &lt; 1) $page = 1; } $start_from = ($page - 1) * $per_page; if($Strkeyword=="" AND $StrLoc=="" AND $StrMinsal=="-1" AND $StrMaxsal=="-1" AND $StrMax_exp=="maximum" AND $Strcategory=="" AND $Strjobtype=="") { $current_items=mysql_query("select * from job LIMIT $start_from, $per_page"); } $start_from, $per_page"); if( mysql_num_rows($current_items)&gt;0) { while($arr=mysql_fetch_array($current_items)) { ?&gt; &lt;?php include("include/result.php") ?&gt;// result u want to display &lt;?php } } else { echo 'Data does not exists'; } if($Strkeyword=="" AND $StrLoc=="" AND $StrMinsal=="-1" AND $StrMaxsal=="-1" AND $StrMax_exp=="maximum" AND $Strcategory=="" AND $Strjobtype=="") { $total_rows=mysql_query("select COUNT(*) from job where AND status='Active'"); } $total_rows = mysql_query("SELECT COUNT(*) FROM job"); $total_rows = mysql_fetch_row($total_rows); $total_rows = $total_rows[0]; $total_pages = $total_rows / $per_page; $total_pages = ceil($total_pages); # 19/5 = 3.8 ~=~ 4 echo "&lt;div style='margin-left:280px;'&gt;"; echo "Page : "; for($i = 1; $i &lt;= $total_pages; $i++) { echo "[&lt;a style='text-decoration:none' href='search_result.php?page=$i' class='pagNumActive'&gt;$i&lt;/a&gt;&amp;nbsp;]"; } echo "&lt;/div&gt;"; ?&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload