J'ai encore un probleme :Pleure:
Voici mon lien :
CODE
<a href="http://www.xxxxx.com/blabla/
<?php if($_GET['id']==1){echo "alimentation-";} ?>
<?php if($_GET['id']==2){echo "cuir-chaussures-";} ?>
<?php if($_GET['id']==3){echo "divers-";} ?>
<?php if($_GET['id']==4){echo "vins-alcool-";} ?>
<?php echo $_GET['debut']+$parpage; ?>.html">
<?php if(($_GET['debut']+$parpage)<$total){ ?>
blabla suivants
<?php } ?>
</a>
<?php if($_GET['id']==1){echo "alimentation-";} ?>
<?php if($_GET['id']==2){echo "cuir-chaussures-";} ?>
<?php if($_GET['id']==3){echo "divers-";} ?>
<?php if($_GET['id']==4){echo "vins-alcool-";} ?>
<?php echo $_GET['debut']+$parpage; ?>.html">
<?php if(($_GET['debut']+$parpage)<$total){ ?>
blabla suivants
<?php } ?>
</a>
J'obtient ce genre d'url : h*tp://www.xxxxxx.com/blabla/ alimentation- 15 .html
Il y a un espace entre les données.
Avez vous une idée pour rendre l'adresse lisible en virant cette espace.
Merci beaucoup.
kevin
