ElaKiri Community
Downloads
(#1)
Old
RyanGate RyanGate is offline
Senior Member
RyanGate will become famous soon enough
 
Posts: 484
Join Date: Nov 2014
php - 03-04-2019, 01:44 PM

මචන්ලා, මට PHP වලින් login form එකක් හදන හැටි සරල code ටිකක් දාපන්කො..

උඹලා පාවිච්චි කරන්නෙobject-oriented, procedural, PDO ?
Reply With Quote
(#2)
Old
Identity's Avatar
Identity Identity is offline
Senior Member
Identity is a glorious beacon of lightIdentity is a glorious beacon of lightIdentity is a glorious beacon of lightIdentity is a glorious beacon of lightIdentity is a glorious beacon of lightIdentity is a glorious beacon of lightIdentity is a glorious beacon of lightIdentity is a glorious beacon of lightIdentity is a glorious beacon of lightIdentity is a glorious beacon of lightIdentity is a glorious beacon of light
 
Posts: 10,729
Join Date: Aug 2016
Location: අදාල නෑනේ
03-04-2019, 01:59 PM

YouTube eken balapanko
Reply With Quote
(#3)
Old
Vitaski119's Avatar
Vitaski119 Vitaski119 is offline
Senior Member
Vitaski119 has a spectacular aura aboutVitaski119 has a spectacular aura aboutVitaski119 has a spectacular aura aboutVitaski119 has a spectacular aura aboutVitaski119 has a spectacular aura about
 
Posts: 197
Join Date: Aug 2017
Location: ‌අතන
03-04-2019, 02:26 PM

https://www.w3schools.com/php/php_forms.asp

oka balapan
Reply With Quote
(#4)
Old
kavindu84's Avatar
kavindu84 kavindu84 is online now
Senior Member
kavindu84 is a name known to allkavindu84 is a name known to allkavindu84 is a name known to allkavindu84 is a name known to allkavindu84 is a name known to allkavindu84 is a name known to allkavindu84 is a name known to allkavindu84 is a name known to allkavindu84 is a name known to allkavindu84 is a name known to allkavindu84 is a name known to all
 
Posts: 5,996
Join Date: Mar 2017
Location: matara
03-04-2019, 04:13 PM

up
Reply With Quote
(#5)
Old
madmax9's Avatar
madmax9 madmax9 is offline
Senior Member
madmax9 has a spectacular aura aboutmadmax9 has a spectacular aura aboutmadmax9 has a spectacular aura aboutmadmax9 has a spectacular aura aboutmadmax9 has a spectacular aura about
 
Posts: 440
Join Date: Feb 2017
03-04-2019, 09:51 PM

bump
Reply With Quote
(#6)
Old
CorD SaC's Avatar
CorD SaC CorD SaC is offline
Senior Member
CorD SaC is a glorious beacon of lightCorD SaC is a glorious beacon of lightCorD SaC is a glorious beacon of lightCorD SaC is a glorious beacon of lightCorD SaC is a glorious beacon of lightCorD SaC is a glorious beacon of lightCorD SaC is a glorious beacon of lightCorD SaC is a glorious beacon of lightCorD SaC is a glorious beacon of lightCorD SaC is a glorious beacon of lightCorD SaC is a glorious beacon of light
 
Posts: 4,889
Join Date: Feb 2015
03-04-2019, 10:01 PM

PHP Code:
<html>
<head>
    <title>Registration Form</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

</head>
<body>

    <?php if (isset($_POST['form_submitted'])): ?> 

        <h2>Thank You <?php echo $_POST['firstname']; ?> </h2>

        <p>You have been registered as
            <?php echo $_POST['firstname'] . ' ' $_POST['lastname']; ?>
        </p>

        <p>Go <a href="/registration_form.php">back</a> to the form</p>

        <?php else: ?>

            <h2>Registration Form</h2>

            <form action="registration_form.php" method="POST">

                 First name:
                <input type="text" name="firstname">
                
                <br> Last name:
                <input type="text" name="lastname">
                
            <input type="hidden" name="form_submitted" value="1" />

                <input type="submit" value="Submit">

            </form>

      <?php endif; ? > 
</
body
</
html>

ඇයි youtube එකේ එහෙම tutorials බලන්නෙ නෑ??? කොච්චර resources තියේද net එකේ

Last edited by CorD SaC; 03-04-2019 at 10:50 PM.
Reply With Quote
(#7)
Old
hasi_2's Avatar
hasi_2 hasi_2 is offline
Senior Member
hasi_2 is just really nicehasi_2 is just really nicehasi_2 is just really nicehasi_2 is just really nicehasi_2 is just really nicehasi_2 is just really nicehasi_2 is just really nicehasi_2 is just really nicehasi_2 is just really nice
 
Posts: 2,284
Join Date: Aug 2014
03-04-2019, 10:06 PM

Bump
Reply With Quote
(#8)
Old
r1a r1a is offline
Senior Member
r1a has a spectacular aura aboutr1a has a spectacular aura aboutr1a has a spectacular aura aboutr1a has a spectacular aura aboutr1a has a spectacular aura about
 
Posts: 3,038
Join Date: Jan 2013
03-05-2019, 08:47 AM

bump
Reply With Quote
(#9)
Old
RyanGate RyanGate is offline
Senior Member
RyanGate will become famous soon enough
 
Posts: 484
Join Date: Nov 2014
03-05-2019, 03:01 PM

Thanks මචං.. internet එකේ හැම තැනම තියෙනවා.. ඒත් අවුල්

Quote:
Originally Posted by CorD SaC View Post
PHP Code:
<html>
<head>
    <title>Registration Form</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

</head>
<body>

    <?php if (isset($_POST['form_submitted'])): ?> 

        <h2>Thank You <?php echo $_POST['firstname']; ?> </h2>

        <p>You have been registered as
            <?php echo $_POST['firstname'] . ' ' $_POST['lastname']; ?>
        </p>

        <p>Go <a href="/registration_form.php">back</a> to the form</p>

        <?php else: ?>

            <h2>Registration Form</h2>

            <form action="registration_form.php" method="POST">

                 First name:
                <input type="text" name="firstname">
                
                <br> Last name:
                <input type="text" name="lastname">
                
            <input type="hidden" name="form_submitted" value="1" />

                <input type="submit" value="Submit">

            </form>

      <?php endif; ? > 
</
body
</
html>

ඇයි youtube එකේ එහෙම tutorials බලන්නෙ නෑ??? කොච්චර resources තියේද net එකේ
Reply With Quote
(#10)
Old
CorD SaC's Avatar
CorD SaC CorD SaC is offline
Senior Member
CorD SaC is a glorious beacon of lightCorD SaC is a glorious beacon of lightCorD SaC is a glorious beacon of lightCorD SaC is a glorious beacon of lightCorD SaC is a glorious beacon of lightCorD SaC is a glorious beacon of lightCorD SaC is a glorious beacon of lightCorD SaC is a glorious beacon of lightCorD SaC is a glorious beacon of lightCorD SaC is a glorious beacon of lightCorD SaC is a glorious beacon of light
 
Posts: 4,889
Join Date: Feb 2015
03-05-2019, 05:11 PM

Quote:
Originally Posted by RyanGate View Post
Thanks මචං.. internet එකේ හැම තැනම තියෙනවා.. ඒත් අවුල්
කරන් යද්දි අවුලක් ආවොත් අහන්ඩ මචන්
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright © 2006 - 2011 ElaKiri™ Beta2.Evo vBulletin, vBa iBproArcade Subdreamer I-Magic MKv

Page generated in 0.04664 seconds with 9 queries