How do you its not inserted ? Have you tested the outcome of the query ? I mean result and also the last insert id ? Have you browsed the table ? I doubt you may have queried the same time when insertion is going on . Anyway as Joe tells send the code . Let us see whats in it :) . Isn't Joe ? :-) Hari K T http://harikt.com/ --- On Wed, 13/5/09, abhishek jain <ejaincom@xxxxxxxxx> wrote: From: abhishek jain <ejaincom@xxxxxxxxx> Subject: mysql hides a query untill another row is inserted manually To: "php mailing list" <php-objects@xxxxxxxxxxxxxxx> Date: Wednesday, 13 May, 2009, 5:15 PM Hi friends, I have a PHP code , now when i insert the row via my code then the row appears as not inserted, but then i execute the command in mysql prompt, it inserts and then it shows the previous row inserted via my code, Mysql client version is 5.x mysql server version is 4.0.21 I know this doesnt directly matches the line of the group , but any help will be appreciated. -- Regards, Abhishek jain Explore and discover exciting holidays and getaways with Yahoo! India Travel http://in.travel.yahoo.com/ [Non-text portions of this message have been removed]