PHP Pass variable to next page | Pass value from one page to another page | php tutorial

Поделиться
HTML-код
  • Опубликовано: 26 окт 2024

Комментарии • 12

  • @ISOnepal
    @ISOnepal 4 года назад +1

    I passed data from page 1 to page 2 works good but when i refreshed the second page undefined index appeared . Plz suggest.

  • @mohitbhesaniya9393
    @mohitbhesaniya9393 5 лет назад

    Page ma update,insert,delete button lay database ma store karavi display button lay tya click kare to display karavu hoy to

  • @maduino3256
    @maduino3256 4 года назад

    Thanks bro..I tested and worked fine thank you :), but if I opened in another web page for example firefox it gives me Undefined index:

    • @AvadhTutor
      @AvadhTutor  4 года назад

      You can't open direct second page, open first page first and click on submit then open next page

    • @maduino3256
      @maduino3256 4 года назад

      @@AvadhTutor what if I want to let page2 to keep save the variable so if I open it in another browser will work? thanks :)

  • @AliHachem
    @AliHachem 4 года назад

    this is very useful, thanks. but how do I post into php table after I pass from page 1 to page2?

    • @AvadhTutor
      @AvadhTutor  4 года назад

      using header("location:page2.php")
      look all videos inside playlist menu
      thanks for comment my friend

  • @riddhidanidhariya6658
    @riddhidanidhariya6658 3 года назад

    I have copy sam thane also
    I am no getting output
    Can you help me?

    • @AvadhTutor
      @AvadhTutor  3 года назад

      Which type of error are occurring there please tell us

  • @ISOnepal
    @ISOnepal 4 года назад

    What happened when u refresh the second page ?

    • @AvadhTutor
      @AvadhTutor  4 года назад

      If you refresh direct second page then error are come, solve this problem using isset($_POST['SUBMIT BUTTON NAME'])

    • @ISOnepal
      @ISOnepal 4 года назад

      @@AvadhTutor should do in first page or second page ?