Mailinglisten-Archive |
>
> <h1>Vorhandene Tankstellen</h1>
> <br>
> <?php
> $link = mysql_pconnect ("localhost", "root", "") or mysql_die();
> $result = mysql_db_query ("oelmuehle", "SELECT * FROM tankstellen ORDER
> BY plz", $link); if (mysql_numrows($result) == 0);
> <p><textarea rows="2" name="Ausgabe" cols="20">
> while ($row = mysql_fetch_array($result))
> {
> print "<li>$row[plz] $row[ort] $row[tbez]</li>"; }
> ?>
> [...]
>
> folgendes funktioniert:
>
> <form>
> <?php print test ?>
> </textarea>
> </p>
> </form>
jetzt sollte es stimmen (textarea-tag vor das while geschoben
Norbert
+------------------------------------------
| Kolb Norbert
| Systemadministration HTL Multimedi_(at)_
|
| http://jester.htl.de \|/ ____ \|/
| "_(at)_'/ ,. \`_(at)_"
| send any critics to /dev/null /_| \__/ |_\
| Plees doont mind se spelink misstakss \__U_/
+-------------------------------------------
php::bar PHP Wiki - Listenarchive