Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

UPDATE query not working.

8 like 0 dislike
alright i'm trying to UPDATE my data but i can't seem to find out what's wrong. i mean... everything is working correctly meaning it doesn't give me any errors, it even redirects me back to the page but nothing changes....

here is my code:
=====================================================
<?php
include('connect.php');

$id = $_POST['id'];
$setname = $_POST['setname'];
$hacker = $_POST['hacker'];
$abuser = $_POST['abuser'];
$ban = $_POST['ban'];

$Query = mysql_query("UPDATE members SET
`setname`='$setname',
`hacker`='$hacker',
`abuser`='$abuser',
`ban`='$ban'
WHERE `id`='$id'") or die(mysql_error());
header("Location: tagging.php");
?>
==========================================
asked 2 years ago by eagle09 (95,490 points)

Your answer

Email me at this address if my answer is selected or commented on:
Privacy: Your email address will only be used for sending these notifications.

0 Answers

Related questions

11 like 0 dislike
1 answer
asked 2 years ago by eagle09 (95,490 points)
7 like 0 dislike
1 answer
8 like 0 dislike
1 answer
asked 2 years ago by eagle09 (95,490 points)
8 like 0 dislike
1 answer
7 like 0 dislike
0 answers