View Single Post
  #2 (permalink)  
Old 06-22-09, 01:52 AM
job0107's Avatar
job0107 job0107 is offline
Community Liaison
 
Join Date: Dec 2006
Location: Tacoma, Washington USA
Posts: 2,655
Thanks: 0
Thanked 21 Times in 21 Posts
I think your problem might be that you are leaving the action property in the form element blank.
Sometimes this can cause unexpected results, like going to your default page (ie: index.html or index.php)

HTML Code:
<form id="form1" name="form1" method="post" action="">
Try filling in the action property value with an "#" sign.
HTML Code:
<form id="form1" name="form1" method="post" action="#">
Or like this:
PHP Code:
<form id="form1" name="form1" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
__________________
Jerry Broughton

Last edited by job0107; 06-22-09 at 02:04 AM.
Reply With Quote