Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Auto reload

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

    Default Auto reload

    I am looking for a script to where when a mysql is updated it updates
    ill be using php to output the mysql id like to use it to where when a form is submitted it popups a javascript type window with the message

    like:
    http://www.dynamicdrive.com/dynamici...stickynote.htm


    any ideas?

    i believe i can insert mysql into that script

    anyways +rep for help
    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

  2. #2
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    I don't understand what you need?

    Possibly AJAX?

  3. #3
    Join Date
    Apr 2008
    Posts
    18
    Tokens
    0

    Default

    k i have a form a staff inputs for a alert
    and when mysql is updated it pops up the current message in the sticky popup

  4. #4
    Join Date
    Oct 2006
    Posts
    2,918
    Tokens
    946
    Habbo
    Verrou

    Latest Awards:

    Default

    Speak english and maybe we can help you, what the hell does this mean:
    I am looking for a script to where when a mysql is updated it updates
    Quote Originally Posted by Special-1k View Post
    How do you uninstall an internet? I want to uninstall my Google Chrome and
    get firefox but I never really got rid of an internet my dad usually did it for me.
    If you know how post below so I can do this.

  5. #5
    Join Date
    Apr 2008
    Posts
    18
    Tokens
    0

    Default

    basically he means
    where when means like if mysql is updated it updates the user by popping up the sticky note

  6. #6
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default

    Not english either.
    If it's a javascript alert, simplest would be to make a 1 x 1 iframe, and put it at the bottom search for a file that checks the mysql and has a conditional statement to make a javascript alert if it has been changed, then use <meta http-equiv="refresh" content="25;this.page.php" /> which will refresh the page every 25 seconds, for more accuracy use ajax or change the refresh time, if this isn't what you wanted - learn english.
    How could this hapen to meeeeeeeeeeeeeee?lol.

  7. #7
    Join Date
    Sep 2005
    Location
    East London
    Posts
    3,028
    Tokens
    0

    Latest Awards:

    Default

    Have a file that is checked every 5 seconds by ajax?

  8. #8
    Join Date
    Apr 2008
    Posts
    18
    Tokens
    0

    Default

    if correct english was a standard for any type of talking people with accents such as
    Mexicans
    British
    French
    accents would count as misproper english aswell
    its about your standards of speech

    please do consider your inmature responses from all points of view

    On Subject:

    Possibly
    Have every 5 seconds the first one is written to old and if old is matched to current it doesnt do it
    then when theres a new one it writes the current to old and sets new and if they dont match it alerts users
    Last edited by MicroZune; 04-05-2008 at 05:19 PM.

  9. #9
    Join Date
    Apr 2008
    Posts
    18
    Tokens
    0

    Default

    i am sorry to double post but i was browsing and saw this for everyone to better understand

    ajax cannot as noted here because the connection is closed after its script is ran

    http://www.daniweb.com/forums/thread101487.html

  10. #10
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    Like this.

    PHP Code:
    <?php
    if($action == "bla") {
        
    $bla $_POST["bla"];
        
    mysql_query("UPDATE bla SET bla='$bla'") or die(mysql_error());
        echo 
    "<script type=\"text/javascript\">alert('stuff');</script>";
    }
    ?>

Page 1 of 2 12 LastLast

Posting Permissions

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