I have been trying everything i can try and nothing is working. i have a module position that should load a php file that populates user pictures and links to their profile. It works fine in everything but ie7 and in ie7 it just loads the last picture. ive tried load, get, and ajax. I have tried to append random numbers to url for cache related issues i have read about and still nothing works. here is the code i am using no for ajax: also the url is: http://undergroundinnertainment.com can anybody see what is wrong? thanks <div>
<div id="loadingL" align="center"> <img src="images/loadContentP.gif" alt="Loading..." /> </div> <div id="contentL"></div></div> <script type="text/javascript"> function hideLoadingL(){ jQuery("#loadingL").fadeTo(1000, 0); imagePreview(); } //jQuery("#contentL").load("lib/latestMembersF.php", hideLoadingL); jQuery.get( 'lib/latestMembersF.php', {}, function(data){ jQuery('#contentL').html( data ); hideLoadingL(); }); </script> and here is hwat i am using for php: MYSQL_CONNECT($hostname, $username, $password) OR DIE("DB connection unavailable"); @mysql_select_db( "$dbName") or die( "Unable to select database"); ?> <?php $query = "SELECT * FROM jos_comprofiler, jos_users WHERE (jos_comprofiler.id = jos_users.id) AND avatar != 'NULL'"; $query .= ' ORDER BY jos_users.registerDate DESC LIMIT 0, 12'; $result = mysql_query($query)or die (mysql_error()); $profilelink = 'http://undergroundinnertainment.com/2009/index.php? option=com_comprofiler&task=userProfile&Itemid=67&user='; while ($row = @mysql_fetch_array($result)) { $variable1=$row["id"]; $variable2=$row["username"]; $variable4=$row["state"]; $variable6=$row["city"]; $variable7=$row["avatar"]; $imagepath = "/images/comprofiler/tn".$variable7; $imagepathB = "/images/comprofiler/".$variable7; //var_dump($variable1); //table layout for results //echo '<div>'; echo '<span style="padding:3px;">'; echo '<a href="'.$profilelink.$variable1.'" class="previeww" title="'. $variable2.' - '.$variable6.', '.$variable4.'"'.' rev="'. $imagepathB.'"><img style="border:2px solid black;" alt="user picture" src="'.$imagepath.'" /></span>'; //echo '</div>'; } ?>