[PHP] retaining keys in array_splice

2002-06-23 Thread Austin W. Marshall
I can't seem to figure out how to use array_splice to replace an element while retaining the key... instead it replaces the key with 0 for example... $foo=array("color"=>"blue","fruit"=>"apple","foo"=>"bar"); array_splace($foo,1,1,array("car"=>"pinto")); yields... Array ( [color] => blue

Re: [PHP] PHP 4.2.0 on win2k, can't use mysql_fetch_* functions

2002-04-29 Thread Austin W. Marshall
ow what to tell you... > >---John Holmes... > > > >>-Original Message- >>From: Austin W. Marshall [mailto:[EMAIL PROTECTED]] >>Sent: Monday, April 29, 2002 1:58 PM >>To: 1LT John W. Holmes >>Cc: [EMAIL PROTECTED] >>Subject: Re: [PHP] PHP 4.2.0 on win2k, can't

Re: [PHP] PHP 4.2.0 on win2k, can't use mysql_fetch_* functions

2002-04-29 Thread Austin W. Marshall
; >Sent: Monday, April 29, 2002 4:34 PM >Subject: Re: [PHP] PHP 4.2.0 on win2k, can't use mysql_fetch_* functions > > > > >>1lt John W. Holmes wrote: >> >> >>>Did you turn on Display_errors in php.ini? >>> >>>---John Holmes... &g

[PHP] PHP 4.2.0 on win2k, can't use mysql_fetch_* functions

2002-04-29 Thread Austin W. Marshall
Is there something about the php 4.2.0 windows binary (installer version) that renders the mysql_fetch_* functions useless? I installed php 4.2.0 on windows 2000 along with Apache 1.3.24 and MySQL 3.23.49, and in a script i have a simple SELECT statement. The content is in the database, the q