Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



PHP fetch error in Internet Explorer 6

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 18-01-2010
Member
 
Join Date: Dec 2009
Posts: 58
PHP fetch error in Internet Explorer 6
  

I am not sure why my code is not working in the IE 6 while it works perfectly fine when i use it with the Mozilla Firefox browser. The is empty in the Internet Explorer. Please help so that i can get rid of this PHP fetch error

Code:
<td >
<?php

echo "<select name='state' id='state' \"><option selected value=''>Select one</option>";
while($noticiaST = mysql_fetch_array($querST)) { 
	echo "<option value='$noticiaST[state]'>$noticiaST[longname]</option>"."<BR>";}
echo "</select>";

?>                
            </td>

Reply With Quote
  #2  
Old 18-01-2010
Member
 
Join Date: Apr 2008
Posts: 1,948
Re: PHP fetch error in Internet Explorer 6

The problems here are not the browser because the PHP code is never affected by the browser. The only difference is that they are executed in different ways. I think that your code has some invalid HTML. Also try to view your source feature in your browser to look at the generated source code and find the invalid parts.
Reply With Quote
  #3  
Old 18-01-2010
Member
 
Join Date: May 2008
Posts: 2,007
Re: PHP fetch error in Internet Explorer 6

It seems as the browser are not the culprit behind your problems also i would suggest you to remove the <br> tag from your code and the program will start working. I think that you should select drop-downs also don't specify any controls other than the <option>. Hopefully this will solve your problem.
Reply With Quote
  #4  
Old 18-01-2010
Member
 
Join Date: May 2008
Posts: 2,291
Re: PHP fetch error in Internet Explorer 6

The PHP could is never affected by the browser used for executing it. I think the main problem behind this is that your code outputs invalid HTML. The browsers always handle these problems in different manner. Hence i would request you that you view all your sources in your browser in order to have a closer look at the fetch value.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "PHP fetch error in Internet Explorer 6"
Thread Thread Starter Forum Replies Last Post
Windows Explorer Runtime Error (not related to Internet Explorer) CoYoTeA Windows XP Support 6 25-02-2012 09:05 PM
"This FTP site cannot be viewed in Windows Explorer" error message in internet explorer 9 Lalitesh Technology & Internet 7 02-12-2011 07:16 AM
Internet Explorer and Google Chrome Error giving some port error Ketaki Technology & Internet 8 23-06-2011 11:15 PM
Internet Explorer 9 error: internet shortcut property sheet and make sure the target is correct Kimberly Gardippie Technology & Internet 1 18-03-2011 12:09 AM
Error message "Internet Explorer did not finish installing" when install internet explorer 9 Jigya L. Technology & Internet 4 11-02-2011 10:12 AM


All times are GMT +5.5. The time now is 05:42 AM.