php උදව්වක්
user input එකේ test කියන වචනේ තියෙනවද කියල check කරලා
තියනවා නම් print වෙන්න ඕනේ මේ වගේ එකක් කරන්නේ කොහොමද?
PHP:
$username = $_POST['username'];
if ($username == "letmein") {
print ("Welcome back, friend!");
}
else {
print ("You're not a member of this site");
}
user input එකේ test කියන වචනේ තියෙනවද කියල check කරලා
තියනවා නම් print වෙන්න ඕනේ මේ වගේ එකක් කරන්නේ කොහොමද?
Last edited:
