RSS Forums RSS
Please support our MySQL advertiser: Programming Forums

INSERT INTO doing double duty

Join Date: Jan 2006
Posts: 223
Reputation: katharnakh is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 20
katharnakh's Avatar
katharnakh katharnakh is offline Offline
Posting Whiz in Training

Re: INSERT INTO doing double duty

  #2  
Jul 31st, 2007
hi,
Anyone see why this would give me two of the same record every time its executed?
The query looks good. You might have problem with your code, the statements above if ($uid > 0 ... ). Probably a loop statement above it, check it thoroughly.

I dont think you have any problem with query. If you are still not satisfied with the query then try it out in MySQL console, executing the same SELECT statement, so that you can judge whether two records get inserted or one. You can do this as one of debug option.

kath.
Last edited by katharnakh : Jul 31st, 2007 at 3:19 am.
challenge the limits
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 7:07 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC