FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Group sort syntax?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Group sort syntax? [message #169805 is a reply to message #169803] Mon, 27 September 2010 12:28 Go to previous message
Captain Paralytic is currently offline  Captain Paralytic
Messages: 204
Registered: September 2010
Karma:
Senior Member
On 27 Sep, 13:08, Denis McMahon <denis.m.f.mcma...@googlemail.com>
wrote:
> $ItemNumber = -1; // assumes that this will never be -1 in database
I'm not sure why you always use -1. Since items have an item number,
we can be sure that no item has no item number. So by changing this
line to:

$ItewmNumber = '';

we no longer have to rely on an assumption about what the item numbers
look like.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Stats comp.lang.php (last 7 days)
Next Topic: mysql_fetch_array
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 12:36:50 GMT 2024

Total time taken to generate the page: 0.04025 seconds