use querystring
This commit is contained in:
parent
0882db10b2
commit
5e9bcd0d93
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
$idcko = $_GET['id'];
|
||||
$idcko = $_SERVER['QUERY_STRING'];
|
||||
|
||||
if (!empty($idcko)){
|
||||
|
||||
@ -9,7 +9,7 @@ if (!empty($idcko)){
|
||||
|
||||
$ipcka = $_SERVER['REMOTE_ADDR'];
|
||||
$curdate = date("H:i:s d.m.Y");
|
||||
|
||||
|
||||
$stmt1 = $mysqli->prepare("SELECT `LinkID`, `ContentID`, `Nickname` FROM `Links` WHERE `LinkID` = ?");
|
||||
$stmt1->bind_param("s", $idcko);
|
||||
$stmt1->bind_result($linkid, $contentid, $nickname);
|
||||
|
Loading…
Reference in New Issue
Block a user