Jump to content

[SOLVED] form post not working in ie?


onedumbcoder

Recommended Posts

I have this code

 

 

<?php$search = "<form method='post' action='search.php'>			<input type='text' name='searchword' id='searchword'  value='Search' style=\"color:#AAA;border: 0 !important;\" onfocus=\"searchAct(this);\"/>			<input type='submit' name='submit' value='Search' style=\"margin-left:-5px; border: 0 !important;background:#888 !important;\">		</form>";echo $search;?>

 

 

and then in other file i have

 

 

 

<?phpif($_POST['searchword'])			$search = addslashes($_POST['searchword']);		else			$search = addslashes($_GET['search']);?>

 

 

but when i hit submit it does not work in ie, i have no idea  why not. Does anyone have a clue?

Link to comment
https://forums.phpfreaks.com/topic/168436-solved-form-post-not-working-in-ie/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.