Jump to content
The Uniform Server Community

ORDER BY issues with UniServer


snecia
 Share

Recommended Posts

I just switched from XAMPP to uniform server today. I'm running the same scripts, without any modification.

 

This:

$sql = "SELECT * FROM rooms WHERE date = '$year/$month/$day' ORDER BY roomNb";

works fine. Under XAMPP it returned the room numbers ordered from 1 to X.

 

Under uniform server I got:

9
10
11
12
14
8
7
6
5
4
3
2
1

Any ideas?

 

Thanks for your time,

 

Alex

Link to comment
Share on other sites

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.   Paste as plain text instead

  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.

Loading...
 Share

×
×
  • Create New...