Thursday, November 7, 2019
php five
<?php
if (isset ($_POST ['b1'])){
function add() {
$a = $_POST ['num1'];
$b = $_POST ['num2'];
echo $a + $b ;
}
?>
<h3> <?php add () ?> </h3>
<?php
}
?>
<?php
if (isset ($_POST ['b2'])){
function add() {
$a = $_POST ['num1'];
$b = $_POST ['num2'];
echo $a - $b ;
}
?>
<h3> <?php add () ?> </h3>
<?php
}
?>
<?php
if (isset ($_POST ['b3'])){
function add() {
$a = $_POST ['num1'];
$b = $_POST ['num2'];
echo $a * $b ;
}
?>
<h3> <?php add () ?> </h3>
<?php
}
?>
<?php
if (isset ($_POST ['b4'])){
function add() {
$a = $_POST ['num1'];
$b = $_POST ['num2'];
echo $a / $b ;
}
?>
<h3> <?php add () ?> </h3>
<?php
}
?>
<form method="post">
<label> Enter first number </label>
<input type="number" name="num1"/>
</br>
</br>
<label> Enter second number </label>
<input type="number" name="num2"/>
</br>
</br>
<input type="submit" value="Add" name="b1"/>
<input type="submit" value="Sub" name="b2"/>
<input type="submit" value="Mulip" name="b3"/>
<input type="submit" value="Divid" name="b4"/>
</form>
if (isset ($_POST ['b1'])){
function add() {
$a = $_POST ['num1'];
$b = $_POST ['num2'];
echo $a + $b ;
}
?>
<h3> <?php add () ?> </h3>
<?php
}
?>
<?php
if (isset ($_POST ['b2'])){
function add() {
$a = $_POST ['num1'];
$b = $_POST ['num2'];
echo $a - $b ;
}
?>
<h3> <?php add () ?> </h3>
<?php
}
?>
<?php
if (isset ($_POST ['b3'])){
function add() {
$a = $_POST ['num1'];
$b = $_POST ['num2'];
echo $a * $b ;
}
?>
<h3> <?php add () ?> </h3>
<?php
}
?>
<?php
if (isset ($_POST ['b4'])){
function add() {
$a = $_POST ['num1'];
$b = $_POST ['num2'];
echo $a / $b ;
}
?>
<h3> <?php add () ?> </h3>
<?php
}
?>
<form method="post">
<label> Enter first number </label>
<input type="number" name="num1"/>
</br>
</br>
<label> Enter second number </label>
<input type="number" name="num2"/>
</br>
</br>
<input type="submit" value="Add" name="b1"/>
<input type="submit" value="Sub" name="b2"/>
<input type="submit" value="Mulip" name="b3"/>
<input type="submit" value="Divid" name="b4"/>
</form>
Aggregate funtion in mysql
AVG()
BIT_AND()
BIT_OR()
BIT_XOR()
COUNT(DISTINCT)
COUNT()
GROUP_CONCAT()
MAX()
MIN()
STD()
STDDEV_POP()
STDDEV_SAMP()
STDDEV()
SUM()
VAR_POP()
VAR_SAMP()
VARIANCE()
BIT_AND()
BIT_OR()
BIT_XOR()
COUNT(DISTINCT)
COUNT()
GROUP_CONCAT()
MAX()
MIN()
STD()
STDDEV_POP()
STDDEV_SAMP()
STDDEV()
SUM()
VAR_POP()
VAR_SAMP()
VARIANCE()
Set password in mysql xampp
You want to edit this file: "\xampp\phpMyAdmin\config.inc.php"
change this line:
$cfg['Servers'][$i]['password'] = 'WhateverPassword';
change this line:
$cfg['Servers'][$i]['password'] = 'WhateverPassword';
Wednesday, November 6, 2019
Remote Connection Guide
- Right Click on This PC
- Goto to Properties
- Click advanced system settings
- Click Remote
- Allow remote connection to this computer
- disallow the below one
- click ok
then
- type credential manager in search
- select windows credential
- remove all credential
- and make new one with your username and password in windows credential
then
- Goto another computer and type open remote desktop connection and type than name of that computer where you selected allow option and then type credential of your system thats it.
Subscribe to:
Posts (Atom)
-
https://www.dropbox.com/s/tbhf74uagy4mxho/HEALTH%20INSURANCE%20SYSTEM.rar?dl=0 health insurance system new all people free and...
-
<?php if (isset ($_POST ['b1'])){ function add() { $a = $_POST ['num1']; $b = $_POST ['num2']; ech...
-
goto C goto Xamp Goto Apache Goto conf Goto extra Open httpd-xampp.conf change this para into this : old: Alias /phpmyadmin ...