Jump to content

I'm lost with a link lol!


icez

Recommended Posts

<?php
} elseif ($_SERVER['QUERY_STRING'] == "take") { 
///////////////////////////////////////////////
if ($uId) { 
if(isset($_GET['take']))
{
$query = "UPDATE items SET color='#FF7200', taken='$username' WHERE id = '{$_GET['take']}'";
   mysql_query($query) or die('Error : ' . mysql_error());
}

?>

function takeArticle(id, itemn)
{
   if (confirm("Are you sure you want to take '" + itemn + "'"))
   {
      window.location.href = 'index.php?take=take=' + id;
   }
}

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.