On Wednesday 14 July 2004 11:54, Prasit Narkdee wrote: > $tmp = unpack("d", substr($this->data, $spos + 6, 8)); > // It machine machine dependent > > if ($this->isDate($spos)) { > list($string, $raw) = $this->createDate($tmp['']); > // $this->addcell(DateRecord($r, 1)); > }else{ > $raw = $tmp['']; > if (isset($this->_columnsFormat[$column + 1])){ > $this->curformat = > $this->_columnsFormat[$column + 1]; > } > > $string = sprintf($this->curformat, $tmp[''] * > $this->multiplier); > > // $this->addcell(NumberRecord($r)); > } > > > $raw = $tmp['']; > some server can get value of first element of array but some server $raw is > empty > how can i sole it? > What variable in php.ini must modify?
First of all I have no idea what your code is trying to do. But if you're simply trying to get the first element from an array then use array_shift() or array_slice(). -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* The clash of ideas is the sound of freedom. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php