Results 1 to 4 of 4

Thread: PHP fetch error in Internet Explorer 6

  1. #1
    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>

  2. #2
    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.

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    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.

  4. #4
    Join Date
    May 2008
    Posts
    2,297

    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.

Similar Threads

  1. Replies: 6
    Last Post: 25-02-2012, 09:05 PM
  2. Replies: 7
    Last Post: 02-12-2011, 07:16 AM
  3. Internet Explorer and Google Chrome Error giving some port error
    By Ketaki in forum Technology & Internet
    Replies: 8
    Last Post: 23-06-2011, 10:15 PM
  4. Replies: 1
    Last Post: 17-03-2011, 11:09 PM
  5. Replies: 4
    Last Post: 11-02-2011, 10:12 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,254,270.15645 seconds with 17 queries