Form htmlspecialchars() question

RNielsen

New Member
Hello All,

I, normally, write firmware for embedded designs and am 'self taught' regarding HTML. So, my HTML stuff is a bit lacking...

My question is: When creating a Form, the 'action' will point to the .php file that is supposed to process the form data. When htmlspecialchars() is used, in the 'action' attribute does not call out which .php file is to be executed. How do I specify which .php file is to be used when the Form submits the data to the server?

Also, I am using bootstrap in my web design.

Thanks
 

AtlasCloud

Member
Hi! To specify the PHP file for processing form data, set the action attribute in the <form> tag to the file's URL or relative path (e.g., action="process.php"). The htmlspecialchars() function is typically used in PHP to sanitize form inputs, not in the action attribute. For Bootstrap forms, the action works the same way.
 
Top