note 62021 added to function.str-replace
| From: | olivia_renkin at hotmail dot com | Date: | Fri, 17 Feb 2006 12:25:15 +0000 |
| Subject: | note 62021 added to function.str-replace | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-103918@lists.php.net to get a copy of this message | ||
<!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>
----
Server IP: 82.146.33.222
Probable Submitter: 62.197.79.169
----
Manual Page -- http://www.php.net/manual/en/function.str-replace.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+62021
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+62021&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+62021&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+62021&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+62021&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+62021&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+62021&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+62021&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+62021&report=yes
Search -- http://master.php.net/manage/user-notes.php