Jump to content

mysql number problem


newb

Recommended Posts

ok i have a number problem its probably an easy fix but idk

 

i have rows in my database that are like this:

 

A Thread Title 1: New

A Thread Title 10: New

A Thread Title 11: New

A Thread Title 12: New

A Thread Title 13: New

A Thread Title 2: New

A Thread Title 21: New

A Thread Title 22: New

A Thread Title 3: New

 

I'd likke them to be like this:

A Thread Title 1: New

A Thread Title 2: New

A Thread Title 3: New

A Thread Title 10: New

A Thread Title 11: New

 

etc etc..

 

how can i fix?

 

Link to comment
Share on other sites

ideally you would have a column with just the actual thread title, a separate column for an id and another separate column or even whole separate table for that "new", depending on what exactly that is supposed to signify.  Then you could just order by id.

 

IOW I sure hope that you don't have 1 column with that whole string as values...

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.