SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Guru
    Join Date
    Sep 2007
    Posts
    971
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Greater or less than statements

    I have a code similar to below where if something is greater than the other an alert appears, can i also have the code detect if it is equal to aswell on the 1 line.

    if ($num_rows > $qry[RoomLimit]) {
    Animated Chatrooms - www.121chatrooms.net

  2. #2
    Web Professional
    Join Date
    Oct 2008
    Location
    London
    Posts
    862
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    PHP Code:
    if ($num_rows >= $qry[RoomLimit]) 


Bookmarks

Posting Permissions

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