Lanka Developers Community

    Lanka Developers

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Shop
    1. Home
    2. Kataz
    3. Best
    K
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 4
    • Best 1
    • Controversial 0
    • Groups 0

    Best posts made by Kataz

    • RE: php form එකක තියෙන variable එකක් තව multiple pages වලට යවන්නේ(පෙන්නන්නේ) කොහොමද php වලින්.

      ade mama wade anala thiyenne. "multiple actions in a form" thama mata wenna one.

      <form action= "page_one.php" method=post> kiyala thibbama oya form ekata insert karana data tika yanne page_one.php kiyana ekatane. mata ekatath yawanna one thawa page_two.php kiyana page ekatath yawanna one.
      hariyata meh wage,
      <form action= "page_one.php" && "page_two.php"method=post> (meka waradi neh)
      mata oka kara ganna thama one.
      Real word example ekak widiyata meka hithannako,
      form ekakata user, userge details add karanawa(name and email), e add karana details crud ekakin admin ta yanwa. e ekkama page eka redirect wenawa "thank you" (thankyou.php) page ekakata. e page eke thiyenawa ""Thank you, ________(userge name eka)". mata anna eka thama hada ganna one. mn dakka google eke thiyenwa js walin oka karana widiyak eth eka math hariyata therune nah.

      posted in General Discussion
      K
      Kataz
    • 1 / 1