The w3C validator has found an error in my HTML:
Bad value comment_add.php?id= 7 for attribute action on element form: Illegal character in query: not a URL code point.
It marked the closing ">" tag as a problem
<form method="post" action="comment_add.php?id= 7"**>**
The code which generated that HTML is:
<form method="post" action="comment_add.php?id=<?= $id_post;?>">
I have a few other lines with the same issue.
How can I solve this problem?