Skip to content

Instantly share code, notes, and snippets.

View snehilk1312's full-sized avatar
🤷‍♂️
dazed and confused

snehil snehilk1312

🤷‍♂️
dazed and confused
View GitHub Profile
@snehilk1312
snehilk1312 / tmux-cheatsheet.markdown
Created October 30, 2020 12:05 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
PSWQ Anxious Previous Scored
18 21 56 Scored Penalty
17 32 35 Scored Penalty
16 34 35 Scored Penalty
14 40 15 Scored Penalty
5 24 47 Scored Penalty
1 15 67 Scored Penalty
4 10 75 Scored Penalty
12 19 53 Scored Penalty
11 29 35 Scored Penalty
<?php
session_start();
include 'databasenew.php';
if (isset($_POST['submit']))
{
$email=$_POST['email'];
$password=$_POST['password'];
$cpassword=$_POST['cpassword'];
$ccity=$_POST['ccity'];
$hcity=$_POST['hcity'];
<?php
session_start();
include 'databasenew.php';
if (isset($_POST['submit1']))
{
$email=$_POST['email'];
$password=$_POST['password'];
$query=mysql_query("SELECT * from citytable where email='$email' ");
$n=mysql_num_rows($query);//retrieves a number of rows from a result set
if($n==1)