|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2002-08-23 01:42 UTC] derick@php.net
  [2002-08-23 01:59 UTC] c_aluthge at hotmai dot com
  [2002-08-23 02:45 UTC] georg@php.net
  [2002-08-23 08:21 UTC] c_aluthge at hotmai dot com
  [2002-08-23 09:45 UTC] georg@php.net
  [2002-08-23 20:48 UTC] c_aluthge at hotmai dot com
  [2002-08-24 05:08 UTC] georg@php.net
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 09:00:01 2025 UTC | 
I'm trying to insert a record to one of my talble. The column "comments" is a Char (1250) , but i cant insert any values thru my PHP Program with a lenth more than 256 Char. this is the SQL Statment $insert_record = "insert into msm_account". "(account_num,comments,activity_type,due_activity_type,record_stat,due_date,entry_date,update_date,update_user)". "values '$account_num','$comments','$activity_type','$due_activity_type',"."'$record_stat','$due_date','today','today','$user_name')"; Output of the statment .... Lenght : 259 Insert : insert into <TABLE NAME> account_num,comments,activity_type,due_activity_type,record_stat,due_date,entry_date,update_date,update_user)values ('510000075','aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa','NONE','NONE','N','23/08/2002','today','today','xxxx') Warning: Prepare fails (E [SQLSTATE=IX 000 SQLCODE=-280]) in /www/htdocs/MSm/docs/xxx_rec.php on line 57 Failed to Insert record