[PHP-DB] how can i set a large String to a xmltype field use PHP?

2004-11-27 Thread javagen
i can set xml String to xmltype field with: $sql_insert_sql = "insert into g_province (p_id,p_regionid,p_provincenameobj,solt) values (g_province_q.nextval,'".$_GET['region_id']."',sys.XMLTYPE.createXML('".$xml _con."'),0)"; but if $xml_con too long,i can not set this content into xmltype fields.

[PHP-DB] how can i set a large String to a xmltype field use PHP?

2004-11-27 Thread javagen
i can set xml String to xmltype field with: $sql_insert_sql = "insert into g_province (p_id,p_regionid,p_provincenameobj,solt) values (g_province_q.nextval,'".$_GET['region_id']."',sys.XMLTYPE.createXML('".$xml _con."'),0)"; but if $xml_con too long,i can not set this content into xmltype fields.