Taobyby: Verweise auf Div Bereich

Beitrag lesen

<a href="/index.php?art_abf_typ=Äpfel">Äpfel</a>

  
<?php  
require_once('Connections/e_alpha.php');  
$art_abf_typ = $_GET['art_abf_typ'];  
echo $art_abf_typ;  
$tabelle ="e_art";  
$dbanfrage = "SELECT * from $tabelle WHERE art_typ='{$art_abf_typ}'";  
$result = mysql_db_query ($database_eyeopt_alpha, $dbanfrage, $eyeopt_alpha);  
  
 while ($ausgabe = mysql_fetch_array ($result))  
 {  
 //$ausgabe[art_nam]= htmlspecialchars($ausgabe[art_nam],ENT_QUOTES);  
  
  
 print "<h3><b>" . $ausgabe[art_nam] . "</b></h3><br>" . "\n";  
 print $ausgabe[art_bes] . "\n <br><br>";  
 print "<br><br><br>". $ausgabe[art_pre] .  " Euro \n <br>";  
 print $ausgabe[art_kor] . " dpt\n <br>";  
 print "Artikelnummer: " ."<h4>". $ausgabe[art_num] . "\n</h4><br>";  
 print $ausgabe[art_typ] . "\n <br><br><br>";  
  
  
  
 }  
  
mysql_close ($e_alpha) ?>

So das ist jetzt mal der ganze php code, den html rattenschwanz miz Layout und so habe ich weggelassen wichtig ist nur zu wissen das wenn der link betätigt wird genau die selbe Seite geladen wird (index.php)auf der Link und Code untergebracht sind.