on multiple carousel slides,Excuse: I'm making a homepage with a carousel. Carousels work great. However, each slide has its own input form. If I try to combine the two forms within a single tag, the page reloads to its original content whenever I change the slide. I believe this is due to the label saving all the inputs together and the form values ​​resetting when the carousel slide index changes. What I want to do I want to be able to have multiple labels on one page, rather than using a wrapper that causes all selected values ​​to be reset when changing to another slide. You can use some isset($_POST['"> PHP <form method="post"> on multiple carousel slides-PHP Chinese Network Q&A
PHP
on multiple carousel slides
P粉043432210
P粉043432210 2023-09-15 14:13:53
0
1
499

Excuse:

I'm making a home page with a carousel. Carousels work great. However, each slide has its own input form. If I try to combine the two forms within a single tag, the page reloads to its original content whenever I change the slide. I believe this is due to the label saving all the inputs together and the form values resetting when the carousel slide index changes.

What do I want to do

I would like to be able to have multiple labels on one page, rather than using a wrapper that causes all selected values to be reset when changing to another slide. Can I use some kind of isset($_POST['form1']) to reference the name of a ?

When I try to use multiple forms, I can't seem to pass any submitted data.

`

P粉043432210
P粉043432210

reply all (1)
P粉662361740

You can add inputs to the form to contain any data you like. For example:

Then in the server side code you just check the valuein$_POST["formName"].

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!