Think about Loose Coupling | |
PerlMonks |
Re^3: database not in correct orderby dws (Chancellor) |
on Nov 27, 2007 at 05:42 UTC ( [id://653156]=note: print w/replies, xml ) | Need Help?? |
The sort is done by the primary key ID. Assuming that you created the table with
and you don't specify an ORDER BY clause for something other than id, you should get the records back in the order you put them in. Is it possible you forgot the auto_increment?
In Section
Seekers of Perl Wisdom
|
|