|
-
MySQL update is not working
I'm trying to edit a MySQL row and its not working.
This is the the file that updates the changes
Help anybody?
<?php
include "database-connection.php";
//get id column
$store_id = $_GET['id'];
$store = $_POST['storeNumberUpdate'];
$result = mysql_query("UPDATE Stores SET Store='$store' WHERE id='$store_id'");
header("location:edit-delete-store.php");
?>
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
|
Bookmarks