NukeXchange Network

          

NukeZone Hosting - Fast, Affordable and Dependable
Nuke Fixes · NukeForums · NukeZone Hosting · Nuke Sites · Nuke Skins
Nuke Resources
 :: Home  :: Downloads  :: Your Account  :: Forums  :: Advertise :: 
Login or Register
Main Menu
General
 Main
 AvantGo
 Banner_Clients
 cfaq
 Donations
 Downloads
 Forums
 Members_List
 Private_Messages
 Search
 Stories_Archive
 Submit_News
 Surveys
 Topics
 Web_Links
 Your_Account

Your Account
 Login
 Register
 Lost Pass

Modules
Quick Links
· Domain Names
. Game Quest
· Learning Linux
. MateMaker
· NukeFixes
· NukeForums
· Nuke Sites
· Nuke Skins
· NukeZone Hosting
. SearchDevil
Other Options

Download Resources
· Nuke Downloads
· Add a Link
· New Files
· Top Rated
· Most Popular

Web Site Resources
· Nuke Sites
· Add A Site
· New Sites
· Top Rated
· Most Popular

Support
· NukeZone Hosting
· NukeSkins.com
· NukeForums.com
· phpnuke.org
· NukeFixes.com
Information
NukeForums
·Email not sending from forum
·Can't add articles
·Adding 'All' as a selection on Reviews
·php nuke background
·Php nuke one click install on plesk 10.4
·Blocks
·vbulletin migration
·How would I add a clickable link in a Modules Block?
·eregi_replace() is deprecated
·Admin Security login jpeg not showing

read more...
Top10 Links
· 1: Nuke Forums
· 2: Windows Installation: PHP
· 3: PHPNukeFiles
· 4: NukeSkins
· 5: Nuke Templates
· 6: EcomJunk
· 7: MDesign
· 8: FLASH-FOR-NUKE
· 9: Dezina
· 10: Global Dream News Sharing Portal!
Site Visitors
User Login:

Nickname:
Password:
Security Code: Security Code
Type Security Code Here:

Members List Membership:
Latest: born
Today: 0
Yesterday: 0
Overall: 16031

Visitation:
Guests: 218
Members: 0
Total: 218


You are Anonymous user. You can register for free by clicking here
Sponsor Links
php-Nuke Themes and Templates
php-Nuke Themes and Templates

NukeResources :: View topic - Rows being placed out of order
NukeResources Forum Index

NukeResources Forum Index -> phpMyAdmin -> Rows being placed out of order
Post new topic  Reply to topic    View previous topic :: View next topic 
Rows being placed out of order
PostPosted: Wed May 24, 2006 4:35 am Reply with quote
lukewilkins
Resource Seeker
Resource Seeker
 
Joined: May 24, 2006
Posts: 2




I feel as though I am probably overlooking something obvious here, but hopefully you guys can point it out to me. I have a few screenshots to show what I'm seeing, as it may be a little difficult to explain.

I have a table that has column `ID` set for auto_increment and as the Primary Key. I put in 5 rows as can be seen in this image, and the auto_increment seems to work perfectly.

Now, I decide to delete the Address row (which is ID 3), and that goes smoothly. I now have this.

Then I decide to add a new row called Comment and it gives it the ID 6 (as it should). However, as you can see here, it places it in between ID's 2 and 4 instead of at the end of the table.

This result effects some of my later scripts and need to know how to have it just place it at the end of the table. Everything is done in php (not in phpMyAdmin). Is it something to do with the auto_increment or primary key? Any help would be greatly appreciated.

Luke
View user's profile Send private message
PostPosted: Wed May 24, 2006 5:10 am Reply with quote
darklord
Resourceful
Resourceful
 
Joined: Feb 25, 2006
Posts: 210




If u can..post the script and ill see what i can come up with.

You say all this is done through php code and not phpmyadmin..this is y i need to see the code.

_________________

for those who STAND shall NEVER fall and those who fall shall rise once more...never give up the end is just another beginning.
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
PostPosted: Wed May 24, 2006 11:07 am Reply with quote
lukewilkins
Resource Seeker
Resource Seeker
 
Joined: May 24, 2006
Posts: 2




I think I have figured it out. Thanks for getting back to me though. If it ends up not being the fix ... i'm sure i'll be back on here.

until then...

luke
View user's profile Send private message
Rows being placed out of order
 NukeResources Forum Index -> phpMyAdmin
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 4 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic     



Powered by phpBB © 2001-2005 phpBB Group.     Theme created by Vjacheslav Trushkin.
There have been 64 unique hit(s) in the past 24 hours.
Forums ©
NukeZone Hosting - Fast, Affordable and Dependable


Best viewed with a Browser
All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2001 - 2007 by NukeResources.com
You can syndicate our news using the file .backend.php or ultramode.txt
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.97 Seconds

:: Eos phpbb2 style by Cyberalien :: PHP-Nuke theme by www.nukemods.com ::