diff --git a/php/login.php b/php/login.php
new file mode 100644
index 0000000..b34c011
--- /dev/null
+++ b/php/login.php
@@ -0,0 +1,6 @@
+
+
+
+
diff --git a/php/my.php b/php/my.php
new file mode 100644
index 0000000..6af3e2c
--- /dev/null
+++ b/php/my.php
@@ -0,0 +1,30 @@
+$value)
+ {
+ print_r($value);
+ echo "
";
+ }
+ //print_r($names);
+
+// $arr = explode('@','himanshu@dewan.com');
+
+
+// list($username,$domain) = $arr;
+// $assoc = compact('username','domain');
+// print_r($assoc);
+
+?>
\ No newline at end of file
diff --git a/php/q1.php b/php/q1.php
new file mode 100644
index 0000000..e37790d
--- /dev/null
+++ b/php/q1.php
@@ -0,0 +1,44 @@
+";
+ // for($i=0;$i<4;$i++)
+ // {
+ // echo "
";
+ // for($j=0;$j<4;$j++)
+ // {
+ // echo "| ".$i*$j." | ";
+ // }
+ // echo "
";
+ // }
+ // echo "";
+
+ echo $_SERVER['REMOTE_PORT'];
+
+
+?>
+
+
+
+
+
+
+
+ Document
+
+
+
+
+
\ No newline at end of file
diff --git a/php/q10.php b/php/q10.php
new file mode 100644
index 0000000..b493024
--- /dev/null
+++ b/php/q10.php
@@ -0,0 +1,20 @@
+=$_POST['2'] && $_POST['1']>=$_POST['3'] ){
+ echo $_POST['1'];
+ }
+ else if($_POST['2']>=$_POST['3']){
+ echo $_POST['2'];
+ }
+ else {
+ echo $_POST['3'];
+ }
+
+
+?>
+
+
\ No newline at end of file
diff --git a/php/q11.php b/php/q11.php
new file mode 100644
index 0000000..4b68bb0
--- /dev/null
+++ b/php/q11.php
@@ -0,0 +1,16 @@
+
+
+
\ No newline at end of file
diff --git a/php/q12.php b/php/q12.php
new file mode 100644
index 0000000..601b749
--- /dev/null
+++ b/php/q12.php
@@ -0,0 +1,27 @@
+
+
+
\ No newline at end of file
diff --git a/php/q13.php b/php/q13.php
new file mode 100644
index 0000000..9e7b3fe
--- /dev/null
+++ b/php/q13.php
@@ -0,0 +1,16 @@
+';
+
+ }
+ }
+
+?>
+
+
\ No newline at end of file
diff --git a/php/q14.php b/php/q14.php
new file mode 100644
index 0000000..ffba2c7
--- /dev/null
+++ b/php/q14.php
@@ -0,0 +1,18 @@
+
+
+
\ No newline at end of file
diff --git a/php/q15.php b/php/q15.php
new file mode 100644
index 0000000..d7a0733
--- /dev/null
+++ b/php/q15.php
@@ -0,0 +1,29 @@
+
+
+
diff --git a/php/q16.php b/php/q16.php
new file mode 100644
index 0000000..94b1260
--- /dev/null
+++ b/php/q16.php
@@ -0,0 +1,23 @@
+';
+ }
+
+
+?>
+
+
+
+
+
\ No newline at end of file
diff --git a/php/q17.php b/php/q17.php
new file mode 100644
index 0000000..f7f0d17
--- /dev/null
+++ b/php/q17.php
@@ -0,0 +1,17 @@
+';
+ }
+
+?>
+
+
+
\ No newline at end of file
diff --git a/php/q2.php b/php/q2.php
new file mode 100644
index 0000000..2f6d06e
--- /dev/null
+++ b/php/q2.php
@@ -0,0 +1,6 @@
+
\ No newline at end of file
diff --git a/php/q3.php b/php/q3.php
new file mode 100644
index 0000000..5a462ba
--- /dev/null
+++ b/php/q3.php
@@ -0,0 +1,42 @@
+';
+ echo str_replace(' ','',$str);
+
+ }
+ elseif($_POST['choice']==2){
+ $str = $_POST['string'];
+ $substr = $_POST['string2'];
+ echo strpos($str,$substr);
+ }
+ elseif($_POST['choice']==3){
+ $str = $_POST['string'];
+ if(preg_match('/^[A-Z+]$/',$str))
+ echo 'UpperCase';
+ elseif(preg_match('/^[a-z+]$/',$str))
+ echo 'LowerCase ';
+ else
+ echo 'Contains Special Character';
+ }
+ elseif($_POST['choice']==4){
+ echo preg_replace('/the/','that',$string,1);
+ # echo str_replace()
+
+
+ }
+}
+?>
+
+
+1.Remove White Spaces
+2.String Contains another String
+3.Check if it is lowercase
+4.Replace first the with that
+
\ No newline at end of file
diff --git a/php/q4.php b/php/q4.php
new file mode 100644
index 0000000..5b3871c
--- /dev/null
+++ b/php/q4.php
@@ -0,0 +1,30 @@
+
+
+
\ No newline at end of file
diff --git a/php/q5.php b/php/q5.php
new file mode 100644
index 0000000..a1d1028
--- /dev/null
+++ b/php/q5.php
@@ -0,0 +1,5 @@
+
diff --git a/php/q6.php b/php/q6.php
new file mode 100644
index 0000000..990cb07
--- /dev/null
+++ b/php/q6.php
@@ -0,0 +1,31 @@
+
+
+
+
\ No newline at end of file
diff --git a/php/q7.php b/php/q7.php
new file mode 100644
index 0000000..9e08714
--- /dev/null
+++ b/php/q7.php
@@ -0,0 +1,29 @@
+=1){
+ print_r($r[0][0]);
+ echo "Welcome";
+ }
+ else{
+ echo 'Enter valid cred';
+ }
+ }
+ else{
+ echo 'database error';
+ }
+
+?>
+
+
\ No newline at end of file
diff --git a/php/q8.php b/php/q8.php
new file mode 100644
index 0000000..a924a2b
--- /dev/null
+++ b/php/q8.php
@@ -0,0 +1,31 @@
+';
+ }
+ else{
+ echo 'does not match';
+ }
+ if($conn){
+ $d = strstr($email,'@');
+ $domain = substr($d,1);
+ echo $domain;
+ $sql = "select * from domain where name='$domain'";
+ $r = mysqli_query($conn,$sql);
+ $result = mysqli_fetch_all($r);
+ if(count($result)>=1){
+ echo 'Valid Domain';
+ }
+ else{
+ echo 'Invalid Domain';
+ }
+
+ }
+
+?>
+
+
diff --git a/php/q9.php b/php/q9.php
new file mode 100644
index 0000000..771a783
--- /dev/null
+++ b/php/q9.php
@@ -0,0 +1,34 @@
+90){
+ echo 'A';
+ }
+ elseif($marks>=80){
+ echo 'B';
+ }
+ else{
+ echo 'C';
+ }
+ }
+
+?>
+
+
+
+
name
+
marks
+
grade
+
+
+
+
+
diff --git a/php/try.php b/php/try.php
new file mode 100644
index 0000000..91a777b
--- /dev/null
+++ b/php/try.php
@@ -0,0 +1,6 @@
+
\ No newline at end of file