cześć,
mam taki problem, że potrzebuję zasubmitować teksty z formularza do bazy PHP oraz przy submicie przejść na kolejną stronę inputs.html
- poniżej kod- jak to zrobić? każdy feedback mile widziany.
<section class="textsContainer">
<div class="texts">
<form action="./https://app_dev.php" onsubmit="return validate()" method="post" target="_blank">
<textarea type="text" id="text1" name="text1" class="txtbox" placeholder="Wpisz swój tekst..."></textarea><span class="error" id="errReq">*This is required</span>
<textarea type="text" id="text2" class="txtbox" name="text2" placeholder="Wpisz swój tekst..."></textarea> <span class="error" id="errReq">*This is required</span>
<div class="moreButton">
<a href="./inputs.html" ><img id="moreButton" src="./img/02/Button_02_1.png" alt="moreButton" /></a>
</div>
</form>
</div>
</div>
</section>
<script src="./texts.js"></script>