Je n'ai plus de script correct, j'en suis à la 3ème version et ce qui est marrant c'est que déjà à la deuxième ça ne fonctionnait plus. j'ai tout essayé mais rien à faire. Je te passe ce que j'ai de plus ancien
<link>
<?php /* Date de création: 21/06/05 */
include_once ("globals.inc.php");
include_once ("fonctions.inc.php");
mysql_connect($serveur,$login,$motpasse) or die ("erreur de connexion au serveur ".mysql_error());
mysql_select_db($base) or die ("erreur de connexion a la base de données ".mysql_error());
$prix = $_REQUEST['ftot1'] ;
$i=0;
//*********************************************
//Tous les enregistrements
//*********************************************
if ($prix == 0)
{
$que = " SELECT * FROM `biens_bp`" ;
$quetot = " SELECT ref FROM `biens_bp`" ;
}
if ($prix == 1)
{
$que = " SELECT * FROM `biens_bp` WHERE (tot1) <= 50000";
$quetot = " SELECT ref FROM `biens_bp` WHERE (tot1) <50000>= 50000 AND (tot1) <100000>= 50000 AND (tot1) <100000>= 100000 AND (tot1) <150000>= 100000 AND (tot1) <150000>= 150000";
$quetot = " SELECT ref FROM `biens_bp` WHERE (tot1) >= 150000";
}
$que1 = mysql_query($quetot) or die ("Requête incorrecte ".mysql_error());
$nbretotal = mysql_num_rows($que1);
$nbre=$nbrerecordpage; // Nbre d'enregistrements par page
if (!isset($pos)) $pos = 0; // Suit la position dans le fichier
if (!isset($sens)) $sens = "d"; // Suit le sens de naviguation
switch ($sens) {
case "d" :
if ($pos >= $nbre) $pos = $pos - $nbre;
else $pos = 0;
break;
case "f" :
if ($nbretotal > $nbre) $dernpage = $nbretotal - $nbre;
else $dernpage = 0;
if ($pos <dernpage>
<head>
<Entete>
<script>
</a>
</script>
<A>
<script>
var params_meteo="type_meteo=terrestre&langue=fr&fond=FFF0AA&texte=0000FF&num_ville=4608&";
</script>
<style>
<dropmenu0>
</style>
</head>
<body>
<table>
<tr>
<td> </td>
</tr>
<tr>
<td><table>
<tr>
<td><a>Home </a></td>
</tr>
<tr>
<td>Our portfolio<br>by price:
<div><form>
<select>
<option> All prices</option>
<option> <50.000 €</option>
<option> 50 -100.000 €</option>
<option> 100 - 150.000 €</option>
<option> > 150.000 €</option>
</select><br><br>
<input>
</form></div> </td>
</tr>
<tr>
<td><script>
<Begin>
</script>
<Menu>
<ilayer>
<layer>
<span
<span><a>Sales</a>
</span>
</span>
</layer>
</ilayer>
<Menu>
<div>
<script>
<!-- Begin
if (document.all)
dropmenu0.style.padding="4px";
for (i=0;i<menu1>
</script>
</div>
<script>
<Begin>
</script>
</td>
</tr>
<tr>
<td><a>Value surveyor </a></td>
</tr>
<tr>
<td><a>Sell your house </a></td>
</tr>
<tr>
<td><A>Currency Converter</A> </td>
</tr>
<tr>
<td><a>Who are we? </a></td>
</tr>
<tr>
<td><a>Contact us </a></td>
</tr>
<tr>
<td><a>Legal side </a></td>
</tr>
<tr>
<td><a>Finance </a></td>
</tr>
<tr>
<td><a>Renovation </a></td>
</tr>
<tr>
<td><a>Holiday homes </a></td>
</tr>
<tr>
<td><a>Travel </a> </td>
</tr>
<tr>
<td><a>Translation service </a> </td>
</tr>
<tr>
<td><a>Good ideas </a> </td>
</tr>
<tr>
<td><a>French Version </a></td>
</tr>
<tr>
<td><div><a><img></a></div> </td>
</tr>
<tr>
<td><div><a><img></a></div><br>The french website<br>for french properties </td>
</tr>
</table>
</td>
<td>The Brittany property specialist<br>Tel:00.33.2.96.33.29.30-Fax:00.33.2.96.33.32.36 <a>email:
property@wanadoo.fr</a>
</td>
</tr>
<tr>
<td>
</div>
</td>
</tr>
</table>
</body>
</html>