Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2009

    Unanswered: Problem with php/mysql

    I have a problem with php/mysql. When I insert a new rows into mysql table php inserts the new table into the end of the table.
    The strange thing is that then I reinstall the database again this time php inserts the new table at the beginning of the table. It seems that the mysql servers chooses the order of the inserting new row into table at the installation. How I can tell mysql allays to insert the new row at the beginning of the table.

    And something important - External script is reading the rows of the table, I can't edit it.

  2. #2
    Join Date
    Jun 2007
    There is no guaranteed order of data in tables. If this is important then perhaps you should have an automatically incrementing field in the table and use this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts