Go Back  HTML Forums - Free Webmaster Forums and Help Forums > WEBSITE DEVELOPMENT > Server Side Programming > PHP Programming
User Name:
Password:
 

Reply
Thread Tools   Display Modes
  View First Unread
 
Old 05-09-2005, 02:23 PM
  #16
torrent
Super Deity (Level 18)
 
torrent's Avatar
 
Join Date: Dec 2001
Location: UK
Posts: 2,419
iTrader: (0)
torrent is on a distinguished road
If the problem was with his table structure then MySQL would inform him that at creation time. Also, indexes, keys or whatever you want to call them are used only on SELECTS, not on INSERT, in fact too many indices can reduce INSERT and UPDATE performance.

So, I think we are straying away from the original problem and my money is on the data going into the database. If he would print the data and query with the data in it then I am sure we would fathom out the problem.

For example, perhaps he is trying to update the data column with a value like 01-01-2005 instead of 2005-01-01. Btw, my comments are based on his original post (not the post a bit further down in the thread where I think he may have made things worse lol)
torrent is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote
Old 05-09-2005, 02:42 PM
  #17
scoutt
Mister Admin to you
 
scoutt's Avatar
 
Join Date: Jul 2001
Posts: 30,867
iTrader: (0)
scoutt is a jewel in the roughscoutt is a jewel in the roughscoutt is a jewel in the roughscoutt is a jewel in the rough
not neccassarily Lloyd, I agree with you to a point but it can still work its just that the performance would be down the tube. besides the column names being reserved words it maybe the data. I would change those column names as I have seen it do some really off the wall stuff when it encounters a reserverd word. sometimes it is ok and goes past it other times it gives you results that don't make any sense.
__________________
Have a Script or Snippet you want to share?

WWW Standards: HTML 4.01, CSS2.1, CSS3, XHTML 1.0
PHP Standards: PHP Standards
scoutt is offline   Add to del.icio.us Add to del.icio.us    Can you digg it?Can you digg it? Reply With Quote

Reply
KEEP TABS
SPONSORS
 
Boxedart



 
 


 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
  
 
 
 



 
  POSTING RULES
 
 
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Thread Tools
Display Modes

Forum Jump

 

All times are GMT -5. The time now is 11:15 AM.

   

Mascot team created by Drawshop.com

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.

Server Monitoring by ENIACmonitor 0.01
HTMLforums.com © Big Resources, Inc. Web Design by BoxedArt.com
vRewrite 1.5 beta SEOed URLs completed by Tech Help Forum and Chalo Na.