#11
|
||||
|
||||
Parse error: syntax error, unexpected T_CLASS in /home/taleofdr/public_html/sort.php on line 62
??? |
#12
|
||||
|
||||
Ok I figured out that problem... there was
Code:
tent .= " Parse error: syntax error, unexpected T_ELSE in /home/taleofdr/public_html/sort.php on line 68 |
#13
|
|||
|
|||
Try changing the while to a if.
this: while($row = $stmt->fetchObject()) to this: if($row = $stmt->fetchObject()) |
#14
|
||||
|
||||
Ohhh yay :) Now instead of it switching the places... how do I make it just move to where I put it? Without moving the other one to where the one I'm moving is?
|
#15
|
|||
|
|||
XD
In the HTML javascript, Change this Code:
$('.sortable_adoptables') .css('background-color', '#FFFF66') .animate({ backgroundColor: realBg }, 'slow' ) .sortable({ cursor: 'pointer', connectWith: ".sortable_adoptables", receive: function(event, ui) { var $this = $(this); if ($this.children('table').length > 1) { $this.children('table').not(ui.item).appendTo(ui.sender); } } }); Code:
$('.sortable_adoptables').css('background-color', '#FFFF66').animate({ backgroundColor: realBg }, 'slow' ).sortable({ cursor: 'pointer', connectWith: ".sortable_adoptables" }); |
#16
|
||||
|
||||
It does and works but it literally puts the adopt on top of the other in the same <td> lol. That might get confusing...
|
#17
|
|||
|
|||
Yeah I know. Which is why I had them switch places. Though once submitted(and page has been refreshed) the adoptables will snap into the proper places. *actually had to get someone else to help me with the Javascript* I don't really know how to make it do what I would ideally like. I'll let you know if/when I figure out anything new that would fix the issue.
|
#18
|
||||
|
||||
Thanks :) For now it's fine how it is... I'm just so relieved to have the other part working. I saw you signed up, lol. Easier to actually see the problem. Is your site up? If so I'd love to take a look if you want to PM it to me.
|
#19
|
||||
|
||||
Darnit. I was trying to do the same rows thing in the profile and it's not working... minus the sortable stuff. Just wanted the rows like in the sort page.
|
#20
|
|||
|
|||
Yeah it is.
*sent you the link to my site* Do you need columns on the profile? It already shows them in lines. Though you should be able to add the column formatting to them... |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Silly bots. --" how can I make a clickery? | kitty08 | Questions and Supports | 6 | 10-24-2011 07:26 AM |
What's New? |
What's Hot? |
What's Popular? |