Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- if(isset($_SESSION['views']))
- $_SESSION['views']=$_SESSION['views']+1;
- else
- $_SESSION['views']=1;
- echo "Views=". $_SESSION['views'];
- ?>
- <html> <div id="Page">
- <form method="post" action="">
- Mobile:
- <input type="text" name="num" value="<?php $_SESSION['num'] ?>" size=38" /></td>
- <input type="hidden" name="r1" value="1" />
- <input type="hidden" name="userid" value="<?php echo $getResults['userid']; ?>" />
- <center><input type="submit" value="Submit" /></center>
- </form>
- </div>
- </body>
- </html>
- <?php
- echo($_SESSION['num']);
- echo("PANKAJ");
- ?>
Add Comment
Please, Sign In to add comment