www.webdeveloper.com
Results 1 to 3 of 3

Thread: need help

  1. #1
    Join Date
    Jan 2009
    Posts
    31

    Problem with ie 7 and opera

    i have a site thats look fine with ie 6 and firefox
    but not with ie7 and opera

    this is the code of the php file

    Code:
    $sql = mysql_query("SELECT * FROM ava_games WHERE published=1 ORDER BY id desc LIMIT 6");
    	while($row = mysql_fetch_array($sql))
    	{
    		$abcd= $row['name'];
    		$abcd = str_replace (" ", "-", $abcd);
    			
    			if ($seo_on == 0) 
    			{
    				$url = games.php?task=view&id='.$row['id'].'';
    			}
    			else 
    			{
    				$url = 'view/'.$row['id'].'/'.$abcd.'.htm';
    			}
    
    		echo '&nbsp;<a href="'.$site_url.'/'.$url.'"><img src="'.$row['image'].'" width="100" height="75" alt="'.$row['name'].'"></a>';
    	}
    ?>
    this code show the new games in the side bar ..

    i want to add table code to this file ..
    somethig like that:

    <table width ....... >

    echo '&nbsp;<a href="'.$site_url.'/'.$url.'"><img src="'.$row['image'].'" width="100" height="75" alt="'.$row['name'].'"></a>';

    </table>



    firefox
    http://img136.imageshack.us/my.php?image=26414917.jpg


    opera
    http://img136.imageshack.us/my.php?image=91489445.jpg



    tnx
    Last edited by xxhunterxx; 03-23-2009 at 04:14 PM.

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    We need to see a link, not a snippet of php.
    At least 98% of internet users' DNA is identical to that of chimpanzees

  3. #3
    Join Date
    Jan 2009
    Posts
    31

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles