Advertisement
Guest User

Untitled

a guest
Feb 24th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1. <div class="cancel">
  2. <a href="#" id='cancel_btn' name=''><img src="../images/img_trans.gif"></a>
  3. </div>
  4.  
  5. <div class="save_and_new">
  6. <a href="#" id='save_and_new_btn' name=''><img src="../images/img_trans.gif"></a>
  7. </div>
  8.  
  9. <div class="save_and_quit">
  10. <a href="#" id='save_and_quit_btn' name=''><img src="../images/img_trans.gif"></a>
  11. </div>
  12.  
  13. if(isset(......)){
  14.  
  15. }
  16.  
  17. <input type="image src="/your/button/image/here.gif" />
  18.  
  19. <button name="button" value="action1"><img src="/your/image/here.gif" alt="action 1" /></button>
  20. <button name="button" value="action2"><img src="/your/image/here.gif" alt="action 2" /></button>
  21.  
  22. $("#save_and_new_btn").click(function() {
  23.  
  24. $("#form").submit();
  25.  
  26. });
  27.  
  28. document.forms["myform"].submit();
  29.  
  30. <form id='myform' action='formmail.pl'>
  31.  
  32. <form name="myform" action="handle-data.php">
  33. Search: <input type='text' name='query' />
  34. <a href="javascript: submitform()">Search</a>
  35. </form>
  36. <script type="text/javascript">
  37. function submitform()
  38. {
  39. document.myform.submit();
  40. }
  41. </script>
  42.  
  43. if(isset($_POST['signin'])){
  44.  
  45. $user=$_POST['user'];
  46. $pass=$_POST['pass'];
  47.  
  48. include("../admin/includes/connect.php");
  49.  
  50. $query = mysql_query ("select * from registered_users WHERE username='".$user."' AND password='".$pass."'");
  51.  
  52. $numrows = mysql_num_rows($query);
  53.  
  54. if($numrows == 1){
  55.  
  56. header('Location:C:xampphtdocsmagzreguser.html');
  57. }
  58. }
  59. ?>
  60. but it is not working properly help me..
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement