MySQL Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesMySQL Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old July 24th, 2000, 09:28 PM
bvrtrimmer bvrtrimmer is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2000
Posts: 14 bvrtrimmer User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi, I'm working on a weather web site and using php/mysql to enter city forecasts into a table.

Everything is fine except my comment line.
For some reason it only enters the first word I type in for the comment line.
The line looks something like this:

INSERT INTO one (cityname, day1, max1, min1, sky1, comments) VALUES ('boston', 'Saturday', '32', '23', 'sun.gif',
'this')

where comments is TEXT, I also tried varchar, char. (I use a <textarea> to enter the comment line)

for the comment line above I had typed "this is a comment line", but only the "this" part of it shows up?

Make sense???

Thanks

Mike

Reply With Quote
  #2  
Old July 28th, 2000, 08:23 AM
nikunj nikunj is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Location: Pune, Maharashtra, India
Posts: 86 nikunj User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Just check out that whether u have given the maximum size of input or the size of the field as four. if so just increase it

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesMySQL Help > field type for a string???


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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 On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway