birthday

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    birthday

    who have birthday script for wapdesirev2?

    #2
    Originally posted by dominik92r View Post
    who have birthday script for wapdesirev2?
    birthday script means?
    Wait...
    sigpic

    Comment


      #3
      code that displays who is celebrating a birthday today
      this is beat code from users.php
      Code:
      $main="<p align=".align().">";
      if($page==""||$page<=0)$page=1;
      $num_items=mysql_fetch_array(mysql_query("SELECT COUNT(*) FROM users"));
      $items_per_page=10;
      $num_pages=ceil($num_items[0]/$items_per_page);
      if(($page>$num_pages)&&$page!=1)$page= $num_pages;
      $limit_start=($page-1)*$items_per_page;
      $sql="SELECT a.id, a.username, b.birthday, b.sex, b.location
      FROM users a INNER JOIN profiles b ON a.id = b.uid
      ORDER BY a.regdate DESC LIMIT $limit_start, $items_per_page
      ";
      Last edited by subzero; 01.09.09, 16:40. Reason: correct - made it coded!!

      Comment


        #4
        remind ya

        please use [ code ] [/ code ]
        Visit: Chat4u.mobi - The New Lay Of being a site of your dreams!
        Visit: WapMasterz Coming Back Soon!
        _______
        SCRIPTS FOR SALE BY SUBZERO
        Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
        FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
        _______
        Info & Tips
        php.net
        w3schools.com

        Comment

        Working...
        X