This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>PHP Form Validation</title> | |
</head> | |
<body> | |
<?php | |
$name = $email = $gender = $comment = $website = ""; | |
if ($_SERVER["REQUEST_METHOD"] == "POST") { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>PHP Form with redirect of one page to another page </title> | |
</head> | |
<body> | |
<?php | |
$name = $email = $gender = $comment = $website = ""; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; | |
class bank | |
{ | |
public static void main(String[] r) | |
{ | |
Scanner s = new Scanner(System.in); | |
System.out.println("enter the name"); | |
String a; | |
a=s.nextLine(); | |
System.out.println("enter the phone no"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>form</title> | |
</head> | |
<body> | |
<?php | |
$title = $_POST['title']; | |
$name =$_POST['name']; | |
$response = $_POST['response']; | |
$comments = $_POST['comments']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
ob_start(); | |
session_start(); | |
?> | |
<? | |
// error_reporting(E_ALL); | |
// ini_set("display_errors", 1); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<bits/stdc++.h> | |
using namespace std; | |
int main(){ | |
int listofusers[6] = {1,2,3,4,5,6}; | |
int v[7][7] = {0}; | |
int t; | |
cin>>t; | |
while(t--){ | |
int paidByUserId,amountPaid,countofIdWhoOws; |