Mercurial > hg > ywww
comparison us/index.php @ 46:b7376319d25a
centralise db query even more
| author | Charlie Root |
|---|---|
| date | Sun, 06 Jan 2019 12:15:42 -0500 |
| parents | 8bc395c87c6f |
| children | da133c130c1d |
comparison
equal
deleted
inserted
replaced
| 45:8bc395c87c6f | 46:b7376319d25a |
|---|---|
| 1 <?PHP | 1 <?PHP |
| 2 include_once "ywww/dlog.php"; | 2 include_once "ywww/dlog.php"; |
| 3 dl("us\n"); | |
| 3 session_start(); | 4 session_start(); |
| 5 dl("us sessoin\n"); | |
| 4 | 6 |
| 5 function uniqueRand($n, $min = 0, $max = null) | 7 function uniqueRand($n, $min = 0, $max = null) |
| 6 { | 8 { |
| 7 if($max === null) | 9 if($max === null) |
| 8 $max = getrandmax(); | 10 $max = getrandmax(); |
