php.de

Zurück   php.de > Webentwicklung > PHP Einsteiger > PHP Tipps 2006

 
 
LinkBack Themen-Optionen Thema bewerten
Alt 21.11.2006, 18:57  
Benutzer
 
Registriert seit: 20.02.2006
Beiträge: 51
lolipop 999
Standard

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
lolipop 999 ist offline  
Sponsor Mitteilung
PHP Code Flüsterer

Registriert seit: 21.08.2005
Beiträge: 4682
PHP-Kenntnisse:
Fortgeschritten

 


Themen-Optionen
Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an
Gehe zu

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Notice: Undefined index Kein Genie PHP Tipps 2008 5 23.04.2008 17:40
PHP Notice: Undefined index: ORIG_PATH_TRANSLATED TFT PHP Tipps 2008 1 18.04.2008 11:42
Prototype Ajax Array Datenmüll notyyy HTML, Usability und Barrierefreiheit 2 08.04.2008 10:57
[Erledigt] Undefined Index-Fehlermeldung PHP Tipps 2006 14 07.12.2006 17:02
Undefined index PHP Tipps 2005-2 1 07.08.2005 17:10
[Erledigt] Verzögerung durch included Script? Umgehen? PHP Tipps 2005-2 4 10.07.2005 19:26
Undefined index LA-Finest PHP Tipps 2005-2 15 15.06.2005 09:47
[Erledigt] Relay Script PHP-Fortgeschrittene 11 01.06.2005 16:02
2 verschachtelte while Schleifen. Großes Performanceproblem Datenbanken 3 30.05.2005 12:52
[Erledigt] Hilfe bei Download Verwaltungs Script PHP Tipps 2005 8 04.05.2005 10:29
Fehlermeldung undefined index: 14 Niedi PHP Tipps 2005 2 22.04.2005 11:40
Undefined index PHP Tipps 2005 5 05.02.2005 14:57
Abbruch bei Aufruf von ImageFunktion PHP-Fortgeschrittene 27 07.11.2004 21:43
[Erledigt] array aus tabelle &amp; Undefined index Datenbanken 19 26.07.2004 14:33


Alle Zeitangaben in WEZ +2. Es ist jetzt 12:57 Uhr.




Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Aprilia-Forum, Aquaristik-Forum, Liebeskummer-Forum, Zierfisch-Forum, Geizkragen-Forum

Creative Commons License
Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.