note 62021 deleted from function.str-replace by nlopess
| From: | nlopess@php.net | Date: | Fri, 17 Feb 2006 12:28:40 +0000 |
| Subject: | note 62021 deleted from function.str-replace by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-103919@lists.php.net to get a copy of this message | ||
Note Submitter: olivia_renkin at hotmail dot com
----
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Acces client </title>
<?php
include("protec/passe/protec.php");
?>
</head>
<body>
<?php
$query = "SELECT * FROM membre where droits='0'";
$result = mysql_query($query);
while ($val = mysql_fetch_array($result))
{
$destination = $val["destination"];
$destinationok=nl2br($destination); //Mets des retours à la ligne.
$destinationok= str_replace("<br>", "\n", $destinationok);
?>
<a href="
<?php
$i=0;
while($i<=$destinationok)
{
echo $destinationok;
?>">
<?php echo $destinationok;
$i++;?>
</a><br>
<?php
}}
?>
<hr>
</body>
</html>