Can I store values through php but stay on index.html .?
I have a file called index.php in which the form is to be filled and after clicking submit it goes to contact.php which is a blank white screen . So is there something through which it can store values through contact.php but stay actually on index.php ?
I have tried target attribute
PHP stores values in its global variables (
$_SESSION for example), so they’re accessible throughout different page loads.
If the script that processes your form data is in contact.php, you could handle the inputs there and then send the user back to index.php with
Oh thank you so much . It helped me.