Complete code - Completar un Código

Concluído Postado Apr 7, 2014 Pago na entrega
Concluído Pago na entrega

I need to display only 20 fields per page.

The code is as follows:

Necesito que se muestren sólo 20 campos por página.

El código es el siguiente:

<div id="winner">

<?php

$buscar = mysql_query("SELECT * FROM facebooks");

if (mysql_num_rows($buscar) > 0) {

?>

<table border = "1">

<tr>

<th>Foto</th>

<th>Nombre</th>

<th>Sexo</th>

<th>ID</th>

<th>Usuario</th>

<th>Localizacion</th>

</tr>

<?php

while ($datos = mysql_fetch_array($buscar)){

?>

<tr>

<td><a href="[login to view URL]<?=$datos["idf"]?>"><img src="<?=$datos["picture"]?>" width="45" height="45" alt=""/></a></td>

<td><a href="[login to view URL]<?=$datos["idf"]?>" rel="nofollow"><?=$datos["name"]?></a> </td>

<td><a href="[login to view URL]<?=$datos["idf"]?>" rel="nofollow"><?=$datos["gender"]?></a></td>

<td><a href="[login to view URL]<?=$datos["idf"]?>" rel="nofollow"><?=$datos["idf"]?></a></td>

<td><a href="[login to view URL]<?=$datos["idf"]?>" rel="nofollow"><?=$datos["username"]?></a> </td>

<td><a href="[login to view URL]<?=$datos["idf"]?>" rel="nofollow"><?=$datos["locale"]?></a> </td>

</tr>

<?php

}

mysql_free_result($buscar);

?>

</table>

<?php

} else {

echo "No se encontraron datos en la base de datos";

}

?> </div>

MySQL PHP

ID do Projeto: #5771344

Sobre o projeto

6 propostas Projeto remoto Ativo em Apr 7, 2014

Concedido a:

bbee2222

Hello Sir, I am a professional Web developer. I read through the job details extremely carefully and I am absolutely sure that I can do the project very well. Kindly award me.. I dont want advance payment. You will Mais

$20 USD em 1 dia
(19 Comentários)
3.3

6 freelancers estão ofertando em média $26 nesse trabalho

cijagani

I am specialize in C++,C#.net,ASP.Net,JAVA, PHP, MySQL, Wordpress, Web Designing and framework like CodeIgniter. my aim to deliver quality products to our customers within specified deadline. i strongly believe in Mais

$28 USD em 1 dia
(129 Comentários)
6.8
jamal8t2

dear sir/madam i can provide solution to this problem within few minutes and will be reliable results thanks

$20 USD em 1 dia
(5 Comentários)
3.1
xcc

Hi, what you need is SELECT * FROM 'table' LIMIT $i,$i+5 If you know what i mean. Let me know if you want my help Thank-you Jim.

$25 USD em 1 dia
(2 Comentários)
1.0
napsterinfotech

Hello sir, I am an experienced developer and able to create pagination your website at low costs plus high quality. I am ready to do the work for you. Please consider my bid and hire me. Thank you...

$30 USD em 1 dia
(1 Comentário)
1.0