help abt refresh.

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

  • kei_ki7
    replied
    Better refresh with Ctrl

    Leave a comment:


  • amylee
    replied
    how about ctrl + F5?

    Leave a comment:


  • icedroplet1987
    replied
    yes i got it.. working thnx

    Leave a comment:


  • subzero
    replied
    in your headers like this

    <doctype html

    <head>
    HERE
    <title>

    Leave a comment:


  • icedroplet1987
    replied
    PHP Code:
    else if($action=="shout")
    {
      
    $shtxt $_POST["shtxt"];
        
    addonline(getuid_sid($sid),"Roaring","");

    $pstyle gettheme($sid);
          echo 
    xhtmlhead("Roar",$pstyle);
        echo 
    "<p align=\"center\">";
        if(
    getplusses(getuid_sid($sid))<75)
        {
            echo 
    "<img src=\"images/notok.gif\" alt=\"X\"/>You should have at least 75 plusses to Roar!";
        }else{
          
    $shtxt $shtxt;
        
    //$uid = getuid_sid($sid);
        
    $shtm = (time() - $timeadjust) + $timeadjust;
        
    $res mysql_query("INSERT INTO ibwf_shouts SET shout='".$shtxt."', shouter='".$uid."', shtime='".$shtm."'");
        if(
    $res)
        {
        
    $shts mysql_fetch_array(mysql_query("SELECT shouts from ibwf_users WHERE id='".$uid."'"));
        
    $shts $shts[0]+1;
        
    mysql_query("UPDATE ibwf_users SET shouts='".$shts."' WHERE id='".$uid."'");
        echo 
    "<img src=\"images/ok.gif\" alt=\"O\"/>Roar added successfully";
        }else{
            echo 
    "<img src=\"images/notok.gif\" alt=\"X\"/>Database Error";
        }
                }
                echo 
    "<br/><a href=\"121lists121.php?action=shouts&amp;sid=$sid\">Back to Roar Full Version!!</a> ";
             echo 
    "<br/><br/><a href=\"index.php?action=main&amp;sid=$sid\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo 
    "Home</a>";
        echo 
    "</p>";
      echo 
    xhtmlfoot();



    where i put in this code?

    Leave a comment:


  • Loony
    replied
    in your headers

    Leave a comment:


  • icedroplet1987
    replied
    ok thnx zero mate.. how to apply this?? only copy paste the code to the place i want refrsh?

    Leave a comment:


  • subzero
    replied
    <meta http-equiv="refresh" content="5;url=where ever u want to redirect to">

    see the red 5

    Change that too 0 or 1

    Leave a comment:


  • icedroplet1987
    replied
    like, when i reply here. it takes me back directly to the topic as i was in topic when i replied.

    Leave a comment:


  • icedroplet1987
    replied
    Originally posted by Loony View Post
    use a meta tag to redirect
    Code:
    <meta http-equiv="refresh" content="5;url=where ever u want to redirect to">
    this will redirect after 5 seconds
    bro, then what if i don want "shout added successfully" page.. whenever users click to post shout. it shot post shout n come back to same page without any delay.

    Leave a comment:


  • Loony
    replied
    use a meta tag to redirect
    Code:
    <meta http-equiv="refresh" content="5;url=where ever u want to redirect to">
    this will redirect after 5 seconds

    Leave a comment:


  • icedroplet1987
    started a topic help abt refresh.

    help abt refresh.

    hello friends, i want to know.. how to code a auto refresh.. like.. whenever soembody post shout in lavalair.. it gives a message.. "shout added successfully.. hom link" . but what i want.. i want to remove this note n want user to come on same place after posting the shout.
Working...
X