Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 04-10-2012, 01:14 AM
SilverDragonTears's Avatar
SilverDragonTears SilverDragonTears is offline
I am your Nemesis.
 
Join Date: Jun 2011
Posts: 1,113
Gender: Female
Credits: 119,173
SilverDragonTears is on a distinguished road
Default

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>';
	
}
?>
__________________

Check out SilvaTales
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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


All times are GMT -5. The time now is 01:23 AM.

Currently Active Users: 6340 (0 members and 6340 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636