Jump to content

Error and question


feri_soft

Recommended Posts

I have one query which list all from the table where id=....,but the articles aren't ordered by date.

for exa mple

1 04/04/2006
2 07 /04/2006


i tried by adding order by date desc and nothing happened.Any ideas about that please?

And the second.I want to add a field with url address to an image and then when listing the data from the db to size the image for example to 100x100 px without using any GD's

Help me please!
Link to comment
Share on other sites

[!--quoteo(post=366127:date=Apr 18 2006, 10:17 PM:name=feri_soft)--][div class=\'quotetop\']QUOTE(feri_soft @ Apr 18 2006, 10:17 PM) [snapback]366127[/snapback][/div][div class=\'quotemain\'][!--quotec--]
so i must change it to date or try sorting by id ??
[/quote]
well changing it to date format will make sorting by date possible, however if there is no way for a user to overide the date when inserting or updating the table, sorting by id would work.
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.