×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Kaxa Mgebrishvili
Added: Nov 20, 2014 10:29 AM
Views: 7
Tags: no tags
  1. if (isset($_GET['grant'])) {
  2.     $grant = htmlspecialchars($_GET['grant']);
  3.     $grantsaqqueri = mysqli_query($db, "SELECT * FROM grmon WHERE gk = '$grant'");
  4.     $grantsaqrov = mysqli_fetch_array($grantsaqqueri);
  5.     echo $grantsaqrov['poeftsax'];
  6.     echo "<form action='#' method='POST'>"
  7.     . "<span>გაგრძელების თარიღი: </span><input type='date' name='gag'></span><input type='hidden' name='grkode' value='" . $grant . "'>"
  8.     . "<input type='submit' name='shes' value='შესრულება' /></form>";
  9. }