-4
mit vorherigem Wort zu verbinden Ich habe dies:Go
if(mysql_num_rows($raw_results) > 0){ // if one or more rows are returned do following
while($results = mysql_fetch_array($raw_results)){
// $results = mysql_fetch_array($raw_results) puts data from database into array, while it's valid it does the loop
if
($results['cod'] == $query){
header('Location: /shop-'$results['cod']'.html');
}
// posts results gotten from database(title and text) you can also show id ($results['id'])
}
}
Und ich will gehen => webiste.xx/shop-FRüHER WORD VERBRACHT ($ query) .html. Wie kann ich das machen?
Deine Frage ist unklar. Es könnte hilfreich sein, wenn Sie uns ein Beispiel geben und eine weitere Erklärung geben, was Sie unter "vorheriges Wort" verstehen: –
'header ('Location: /shop-'.$results['cod'].'.html'); Ausgang; ' – revo
gearbeitet. Vielen Dank. –