![]() |
|
#1
|
||||
|
||||
![]()
No it's working now :) The only issue I'm having now is I don't think that the sort id's are updating into the db
Code:
<?php include("functions/functions.php"); include("functions/functions_users.php"); include("functions/functions_adopts.php"); include("classes/class_pagination.php"); include("css/pagination.css"); include("inc/lang.php"); //***************// // START SCRIPT // //***************// if ($_POST) { $userID = $_COOKIE['auid']; foreach($_POST['orderaid'] as $orderID => $aid) { $adopts->query('REPLACE INTO ' . $prefix . 'sort_adoptables (`user_id`, `adoptable_id`, `sorting_id`) VALUES ("' . addslashes($userID) . '", "' . addslashes($aid) . '", "' . addslashes($orderID) . '")'); } echo '<p>Adoptables have been rearranged</p>'; } ?> |
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
New newbie joining in | destrovel | Newcomer Center | 2 | 09-14-2014 11:18 AM |
Shop Tables | SilverDragonTears | Questions and Supports | 1 | 02-02-2013 03:26 PM |
More fetching from tables help | SilverDragonTears | Questions and Supports | 4 | 04-30-2012 03:00 PM |
Tables | StarGirl | Questions and Supports | 3 | 04-26-2012 02:57 PM |
Joining Usergroups | Cindykt | Questions and Supports | 1 | 08-19-2011 09:25 PM |
What's New? |
What's Hot? |
What's Popular? |