[PHP] XML-RPC problem with array

2005-02-01 Thread Bambero
#x27;sd'] $array['rd'] is changed to xmlrpc 'struct' type - thats ok too. But array (indexed from 1): $array[1] $array[2] $array[3] is changed to xmlrpc 'array' type. Is it possible to change this type to xmlrpc 'struct' type ? Sorry, my english is not well

[PHP] What about pgsql error codes ?

2004-11-08 Thread Bambero
Hello How can I get an error code of my last pgsql query like in mysql 'mysql_errno()' ? http://www.postgresql.org/docs/7.4/static/errcodes-appendix.html Bambero -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] quoted_printable_encode

2004-08-30 Thread Bambero
What do you think about this function ? == function _headerencode($headervalue, $headername=false, $charset='ISO-8859-1', $length=76) { if($headername) $headername.=': '; $headervalue=str_replace('%', '=', rawurlencode($headerv

Re: [PHP] preg_split - spliting string

2004-03-07 Thread Bambero
Burhan Khalid wrote: Bambero wrote: Hi I need to split a string by the: , (comma) separator, but when the comma is beetwen "" it should be skipped. Ex: test ts sasa, assas "sasa,asaas" dasdas, da => test ts sasa => assas "sasa,asaas" dasdas => da If

[PHP] preg_split - spliting string

2004-03-06 Thread Bambero
Hi I need to split a string by the: , (comma) separator, but when the comma is beetwen "" it should be skipped. Ex: test ts sasa, assas "sasa,asaas" dasdas, da => test ts sasa => assas "sasa,asaas" dasdas => da Thx Bambero -- PHP General Mailing List (htt