Hallo
SO nun ERSTMALS EIN SUPER GROSSES DANKE
Hier nun der funktionierende Code:
PHP-Code:
<html>
<head>
<title>Musikvideos</title>
<style type="text/css">
body { scrollbar-base-color:#66CCFF;
scrollbar-face-color:#66CCFF; //Scrollbar vorne Schieberfarbe
scrollbar-track-color:#FFFF00;
scrollbar-shadow-color:#990033;
scrollbar-dark-shadow-color:#FFFFFF;
scrollbar-arrow-color:#FFFF00;
scrollbar-3d-light-color:#99cc66;
scrollbar-highlight-color:#66CCFF;
}
</style>
<link rel="stylesheet" href="styles.css" type="text/css">
<?
error_reporting(E_ALL);
?>
<?
include("Common_Functions.php");
include("connect.php");
// $Aktion = $HTTP_GET_VARS[Aktion];
$sSql="SELECT Artist FROM t_artist ";
$arErgebnis_Recordset=get_SQL($sSql);
?>
<h1 align="center"><font face="Arial, Helvetica, sans-serif"><font color="#FFFF00">[b][i]<font face="Verdana, Arial, Helvetica, sans-serif">Musikvideos</font>[/i][/b]</font></font>
</h1>
<form name="form1" method="get" action="daba103.php">
Video:
<?
echo "<input type='text' name='sSearchString'>";
?>
<input type="submit" name="Submit" value="Suchen">
<input type='hidden' name='Aktion' value='wiederholen'>
<input type="checkbox" name="chk_start_with" value="yes" checked>
Start with
<input type="checkbox" name="chk_Show_All" value="all">
List All
</form>
</p>
<table width= "1360" border="0" cellspacing="0" cellpadding="3">
<tr class="spaltentitel">
<td width='500'>Artist</td>
</tr>
<?
$iZeile=0;
foreach($arErgebnis_Recordset as $dPerson){
if (mat_bgerade($iZeile)){
$sStil = "zeile_a";
}
else{
$sStil = "zeile_b";
}
$Name = $dPerson['Artist'];
if (strpos ($Name , ',')!==false){
$NameNeu = implode(' ' , array_reverse (explode (',' , $Name , 2)));
}
else{
$NameNeu = $Name;
}
print("<tr class = '$sStil' > \n");
print("<td>$NameNeu</td>\n");
print("</tr>\n");
$iZeile++;
}
?>
</table>
</p>
</body>
</html>
Ich möchte mich nochmals ganz herzlich bedanken
mfg
lolipop 999