Mailinglisten-Archive |
Emilio Paolini schrieb:
>
> Jörg Baach schrieb:
>
> > Woran koennte das liegen? Eigentlich sollte die Browserversion doch
> > wirklich keinen Unterschied machen, oder?
>
> Hmm, eigentlich kann ich nix sehen, aber so ohne Source ...
>
> Es fehlt ein </LI> aber dass muss wohl nicht sein.
>
> Musst wohl mehr infos geben ...
>
Gerne ......
Liebe Gruesse,
Joerg
----schnipp aus liste.html-----
if ($detailaction==1) {
$result=my_sql_query("SELECT * FROM $table where id=$id","Selection of
entrys for list");
$row=mysql_fetch_array($result);
?>
<IMG src="img/pfeilnl.gif" width=12 height=10 alt="" border="0">
<a href="<?echo $PHP_SELF?>"><font size="+1">Zurück zur
Übersicht</font></a><p>
<font size="+2"><b><? htmloutput($row['titel'])?></b></font><p>
<b><? htmloutput($row['einleitung'])?></b><p>
<? htmloutput($row['text'])?><p>
<?
$linktext="";
FOR ($i=1;$i<=3;$i++) {
$url="";
$urltext="";
$url=$row["url$i"];
$urltext=$row["url".$i."text"];
if ($url!="" && $urltext!="") {
$linktext.="<li><a href=\"".$url."\"
target=\"_top\">".$urltext."</a><br>\n";
}
}
if ($linktext!="") {
?>
<br>
<p><b>Links zum Thema</b><p>
<ul>
<?
echo $linktext;
}
?>
</ul>
<p>
<?
//echo $row[text];
}
?>
---------schnapp aus liste.html------------
--------schnipp------------------
function htmloutput ($text) {
echo nl2br(htmlentities($text));
}
function my_sql_query ($querystring,$text) {
$result=mysql_query($querystring);
if (mysql_errno()<>0) {
echo $querystring;
echo mysql_errno()." at $text: ".mysql_error()."<BR>";
}
else
return $result;
}
function my_error ($string) {
if (mysql_errno()<>0) {
echo "Fehler ".mysql_errno()." at $string: ".mysql_error()."<BR>";
}
}
-------schnapp---------------------------
php::bar PHP Wiki - Listenarchive