Mailinglisten-Archive |
----- Original Message ----- From: "Andreas Lange" <andreas.lange_(at)_haas-media.de> To: <php_(at)_phpcenter.de> Sent: Thursday, October 24, 2002 12:47 PM Subject: Re: [php] Mysql-Tabelle in Tabelle im Browser ansprechen [..] > $result = mysql_query(... > if ($result) { > echo "<table>"; > while($row = mysql_fetch_array($result,MYSQL_ASSOC)) { > echo "<tr>"; > foreach ($row as $fieldname => $value) { > echo "<td>"; > echo '<a href="script.php?var='.htmlentities($value).'">Link</a>'; ^^^^^^^^^^ ? Du meintest urlencode() anstelle htmentities() oder ? Gruss Joerg Behrens -- TakeNet GmbH Mobil: 0171/60 57 963 D-97080 Wuerzburg Tel: +49 931 903-2243 Alfred-Nobel-Straße 20 Fax: +49 931 903-3025
php::bar PHP Wiki - Listenarchive