append 0

While I was creating : back and forward
links for Nowiwi . Com

I discovered that I could add (append) digit ZERO to a number .. like this

$q = isset($_GET['i']);
if($q) $s=$_GET['i']; else $s=1;

if($s<1)$s=1;
$e = ($s . 0) - 10;

$o = " select k,i from p order by i desc limit 10 offset $e ";
$o = mysqli_query($c,$o);


in other words .. instead of

$e = ($s * 10) - 10;

I decided to do

$e = ($s . 0) - 10;

Did I invent a more efficient mathematic ?

Did I discover a more efficient mathematic ?








Report A Problem