
Was action="" betrifft, guck mal hier: http://www.w3schools.com/tags/att_form_action.asp
Wenn bei Dir action="" steht, könnte dass dann hiermit klappen:
Code: Alles auswählen
action="'.$_SERVER["REQUEST_URI"].'#ankername"
edit:
Falls Du eine Fehlermeldung beim Absenden des Formulars bekommst, musst Du für die Abfrage der URL "in den php-Modus wechseln":
Code: Alles auswählen
<form action="<?php echo $_SERVER["REQUEST_URI"]; ?>#kontakt" method="post">
Code: Alles auswählen
<form action="front_content.php?idcat=37&idart=42&parentid=%3C#anker%3E" method="post">