Jump to content

Nafisah

New Members
  • Posts

    1
  • Joined

  • Last visited

Nafisah's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Notice: Undefined index: id in C:\xampp\htdocs\Guttz\Edit.php on line 2 <?php $id = $_GET['id']; $host = "localhost"; $user = "root"; $pass = ""; $db = "guttz"; $link = mysqli_connect($host, $user, $pass, $db); $query ="SELECT * FROM designers WHERE id ='$id'"; $result = mysqli_query($link, $query); $row = mysqli_fetch_array($result) or die (mysqli_error($link)); mysqli_close($link); ?> The get and the post has been the problem . How can I store and save id in session. What is the codes for it ?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.