taps128 Posted May 16, 2006 Share Posted May 16, 2006 im using a [code]if(!_POST['submit']) { ..... do form }else { insert data into the database }[/code]and as a result on hit submit my browesr starts to search on google, but on another module on the same database it works just fine.. anyone any ideas? Quote Link to comment Share on other sites More sharing options...
taps128 Posted May 16, 2006 Author Share Posted May 16, 2006 [!--quoteo(post=374212:date=May 16 2006, 07:34 AM:name=Nikola Stjelja)--][div class=\'quotetop\']QUOTE(Nikola Stjelja @ May 16 2006, 07:34 AM) [snapback]374212[/snapback][/div][div class=\'quotemain\'][!--quotec--]im using a [code]if(!_POST['submit']) { ..... do form }else { insert data into the database }[/code]and as a result on hit submit my browesr starts to search on google, but on another module on the same database it works just fine.. anyone any ideas?[/quote]...the module works when i use[code]form action="http://localhost/pekare/dosomething.php"[/code]but when i use [code]form action="<?=$_SERVER['PHP_SELF']?>"[/code]i looks for pekare (which is the directory where my db is situated) on serbian yellow pages?!and it seems i corrected the problemthe file name was apparently to long .... it was originaly called formular_za_unos_proizvoda.php, and I later shortened it to unos_proizvoda.php Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.