Du musst natürlich noch mit
print $title;
print $author;
die entsprechenden Werte ausgeben, und einen kleinen Fehler beheben
Wo im Moment noch $nav steht
	
muss ein $file hin
	
							
						
					print $title;
print $author;
die entsprechenden Werte ausgeben, und einen kleinen Fehler beheben

Wo im Moment noch $nav steht
PHP-Code:
	
	
preg_match_all("/<author>(.*?)<\\/author>/i",$nav,$found); 
preg_match_all("/<title>(.*?)<\\/title>/i",$nav,$found); 
PHP-Code:
	
	
preg_match_all("/<author>(.*?)<\\/author>/i",$file,$found); 
preg_match_all("/<title>(.*?)<\\/title>/i",$file,$found); 
 
          


Kommentar