RealDrift Posted December 21, 2007 Author Share Posted December 21, 2007 ok the SQL error is gone, the right username is printed. - but firstly is still displays the wrong pic, but shows correct one upon manual refresh. - secondly it randomly displayed my inbox in that frame. also i tried just echoing a word instead of any statement and then i saved the file. my webpage displayed the right word. then i changed the word in the echo statement to something else and saved it. The webpage again showed correct word. i get the feeling the AJAX script does auto refresh. just thought this might help you Link to comment https://forums.phpfreaks.com/topic/81283-refresh-problem/page/3/#findComment-420157 Share on other sites More sharing options...
teng84 Posted December 21, 2007 Share Posted December 21, 2007 do you want you page to let say change the images even if you dont touch it once you get a message? Link to comment https://forums.phpfreaks.com/topic/81283-refresh-problem/page/3/#findComment-420159 Share on other sites More sharing options...
RealDrift Posted December 21, 2007 Author Share Posted December 21, 2007 what u mean? Link to comment https://forums.phpfreaks.com/topic/81283-refresh-problem/page/3/#findComment-420160 Share on other sites More sharing options...
teng84 Posted December 21, 2007 Share Posted December 21, 2007 - but firstly is still displays the wrong pic, but shows correct one upon manual refresh. then your ajax is not working.. you get right image because it fetches the right data from your db upon refresh - secondly it randomly displayed my inbox in that frame. use order by .. Link to comment https://forums.phpfreaks.com/topic/81283-refresh-problem/page/3/#findComment-420166 Share on other sites More sharing options...
RealDrift Posted December 21, 2007 Author Share Posted December 21, 2007 - i meant that that frame in which the two images are mustn't display the inbox page. but it somehow does. that frame is only for the two images. - you suggest the ajax script doesn't work, then why does it work when i just echo a word etc? Link to comment https://forums.phpfreaks.com/topic/81283-refresh-problem/page/3/#findComment-420170 Share on other sites More sharing options...
teng84 Posted December 21, 2007 Share Posted December 21, 2007 try to do this. loop it to see if it really work something like $x='1'; $y.=$x; echo $y; to see if the page really refresh sorry but i'm confused ??? Link to comment https://forums.phpfreaks.com/topic/81283-refresh-problem/page/3/#findComment-420175 Share on other sites More sharing options...
RealDrift Posted December 21, 2007 Author Share Posted December 21, 2007 it echos $y lol means it dsnt work? what are you confused about? Link to comment https://forums.phpfreaks.com/topic/81283-refresh-problem/page/3/#findComment-420176 Share on other sites More sharing options...
teng84 Posted December 21, 2007 Share Posted December 21, 2007 i just do see the result so most of the post is a guess.. lol so now you're convince its not working? Link to comment https://forums.phpfreaks.com/topic/81283-refresh-problem/page/3/#findComment-420180 Share on other sites More sharing options...
RealDrift Posted December 21, 2007 Author Share Posted December 21, 2007 i dnt even know if it works, all i want is a simple refresh method (not html as it is annoying and flickers the images) i am tired of this already, Link to comment https://forums.phpfreaks.com/topic/81283-refresh-problem/page/3/#findComment-420184 Share on other sites More sharing options...
RealDrift Posted December 21, 2007 Author Share Posted December 21, 2007 hopefully someone will come to a solution. i am googling aswell but no luck for any answers Link to comment https://forums.phpfreaks.com/topic/81283-refresh-problem/page/3/#findComment-420193 Share on other sites More sharing options...
mr_mind Posted December 30, 2007 Share Posted December 30, 2007 I think you should try going to a JavScript forum or an AJAX forum because all of your PHP is correct, it is your AJAX that is broken Link to comment https://forums.phpfreaks.com/topic/81283-refresh-problem/page/3/#findComment-426202 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.