User Profile

Collapse

Profile Sidebar

Collapse
phpchild
phpchild
Last Activity: Mar 5 '13, 09:25 AM
Joined: Jan 13 '13
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • phpchild
    started a topic PHP - Need to redirect to top of page
    in PHP

    PHP - Need to redirect to top of page

    Code:
    <?php
    $a;
    if($a)
    {
    echo "want to use header to redirect";
    }
    ?>
    <html>
    		<form action="aa.php" method="post">
    		
    		<input type="submit" value="submit">
    		</form>
    </html>
    
    <?php
    if(isset($_POST['submit']) && $_POST['submit'])
    		{
    				echo "okkk";
    ...
    See more | Go to post
    Last edited by phpchild; Jan 14 '13, 07:46 AM. Reason: Want to more clear...

  • phpchild
    started a topic How to use session uniquely each time page loads?
    in PHP

    How to use session uniquely each time page loads?

    i want to use unique session values, set according to if condition. To use in same page.
    Like this
    Code:
    <?php
    
    session_start();
    ?> <form action="http://bytes.com/nn.php" method="post">
    Username: <input type="text" name="lname"  /><br><br>
    Password: <input type="password" name="password" /><br><br> <input
    ...
    See more | Go to post
    Last edited by acoder; Jan 13 '13, 09:33 PM. Reason: Please use [code] tags when posting code
No activity results to display
Show More
Working...