Euro 2024 sweepstakes!
Prizes to be won this summer! Click here to take part, and find yourself a team to cheer on!
Show your pride!
Rainbows galore in our forum shop, including snazzy colours for your username and even a rainbow-coloured... football?
Join Habbox!
Be part of the Habbox family - there are so many roles to pick from! Click here to get your application rolling


Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2007
    Posts
    1,683
    Tokens
    0

    Latest Awards:

    Default Contact list generator

    Well, as my website still use's Housekeeping V1, and I doubt any other DJ panel has got this feature, but as you know most DJ's contact each other via MSN Messenger, I'd like to make a Contact list generator, that get's from a file (emails_msn.php).

    MSN Contact list is used like this

    <contact level="1">[email protected]</contact>

    or something, is there any chance of someone making a script like this, I'd make it but I don't understand flatfiling.

  2. #2
    Join Date
    Sep 2007
    Location
    USA
    Posts
    474
    Tokens
    0

    Default

    what if when you register a user they have to input their msn
    Post Meter
    ______________________________________________
    400 450 500 550 600 650 700 750 800 850 900-1k
    Green=Done | Orange=Almost | Red=Not Done
    ______________________________________________
    Habbo fury Coming Soon!
    My Img tag has ran away

  3. #3
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    If there is already a page there, the one u mentioned, emails_msn.php please show it, if not, make it so when they register on the panel or whatever, make them enter a msn address, and then make the appropriate field in the database table for it.

    Then on the desired page do the following:

    PHP Code:
    <?php

    include("config.php"); // Whatever your database connect file is.

    // Change msn to the field name you chose, 
    // users to whatever the table holding user info is,
    // and change username to whatever the field for the username is called.
    $msn1 mysql_query("SELECT `msn`,`username` FROM `users`"); 

    echo(
    "<ul>");

    while(
    $msn2 mysql_fetch_array($msn1)) {

    echo(
    "<li><b>".$msn2['username']."</b>:&nbsp;".$msn2['msn']."</li>");

    }

    echo(
    "</ul>");

    ?>
    Something like that that would display them as an unordered list.

    Hope that helps,
    Luke


  4. #4
    Join Date
    Dec 2007
    Posts
    1,683
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by L?KE View Post
    If there is already a page there, the one u mentioned, emails_msn.php please show it, if not, make it so when they register on the panel or whatever, make them enter a msn address, and then make the appropriate field in the database table for it.

    Then on the desired page do the following:

    PHP Code:
    <?php

    include("config.php"); // Whatever your database connect file is.

    // Change msn to the field name you chose, 
    // users to whatever the table holding user info is,
    // and change username to whatever the field for the username is called.
    $msn1 mysql_query("SELECT `msn`,`username` FROM `users`"); 

    echo(
    "<ul>");

    while(
    $msn2 mysql_fetch_array($msn1)) {

    echo(
    "<li><b>".$msn2['username']."</b>:&nbsp;".$msn2['msn']."</li>");

    }

    echo(
    "</ul>");

    ?>
    Something like that that would display them as an unordered list.

    Hope that helps,
    Luke

    Thanks.. +rep

Posting Permissions

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