Jump to content

aMOEBa

Member
  • Posts

    5
  • Joined

  • Last visited

Posts posted by aMOEBa

  1. Hi, I need help with an algorithm to allocate rooms to people. I need to shuffle through a list of rooms to assign a room to a person and after the fourth person is assigned to the room, it should be out of the list(should be unavailable). I have not had any luck with PHP shuffling and sorting functions yet.

     

    Any help (pointers, references, etc.) will greatly be appreciated.

  2. I really need help(ideas) with a project I want to work on. I want to build a software that will be used for Financial Management in a bank with java. What I need is help with where to start and also pointers to resources that might help me get this project done. I am new to software development with JAVA.

  3. Hi,

     

    If you are building this for a website, then you will need a database and say something like PHP.

     

    I would need more details to give you more details.

     

    Stefan

     

    Hey Stefan, thanks for replying. I just want something similar to that of facebook. How facebook's birthday alert app works.

    I have db with members and their dates of birth. I want a message to appear on my homepage and other pages telling users who

    are celebrating their birthdays in a particular day, in the course of the week and also in the course of the month.

    Any idea will be much appreciated. Thanks.

  4. Hey guys I am trying to write this application to display members who are celebrating the birthday in a particular week, month. I want the app also to be able to display those who will be celebrating their birthdays in abt 2months. I want to do something like how Facebooks birthday alert is. Any idea is welcomed. Thanx.

  5. Hi geeks,

    I am working on a query string but I am kinda stuck with the code, I guess this is so cos am a PHP beginner. I want my script to display members list from a table in my db and attach a hyperlink to it so that when a user clicks on the link, it takes him to the full details of that member. So far, I have been able to retrieve data from db and attached links but when I click on the link,it just adds a member ID to the query string and it does not take u to page with full member details. What I have wirtten so far is shown below:

     

    
    <?php
       //connection.php
       /*$id = $_GET['id'];*/
    
       $conn = mysql_connect($host, $user, $pass);
       $selDB = mysql_select_db($db);
       $sql = "select count(*) from info";
       $result = mysql_query($sql);
       $row = mysql_fetch_row($result);
       $numRows = $row[0];
    
            /*if (isset($_GET['id'])){
               $id = (int)$_GET['id'];
           }*/
    
       $sql = "select * from info";
       $result = mysql_query($sql);
       while($row = mysql_fetch_assoc($result)){ ?>
        <table>
        <td><?php echo stripslashes($row['name']). " ";?><a href="<?php echo $_SERVER['PHP_SELF']?>?id=<?php echo $row['id'];?>">[View Details]</a>
         </td>
         </tr>            
    
    <?php } ?>  
    
    

     

    Guys please help me out.

×
×
  • Create New...