[PHP] Re: newbie array question

2003-07-10 Thread Harry Wiens
try this: $query = "select name from names (where age <'23'')"; $numero= sybase_connect("database" , "user" , "password" ) or die ("Unable to connect to database server"); $result=sybase_query($query,$numero ); while($temp=sybase_fetch_array($result)){ $names[] = $temp[name]; } mfg. harry wie

[PHP] Re: newbie array question

2002-08-13 Thread S.P. Telgenhof Oude Koehorst
Ignore my first reply. I didn't read the question properly. Sorry. Greetz, Sacha Telgenhof "Alexander Ross" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > If I have a string variable that is already of the form > ('item','item2','item3') [including the par

[PHP] Re: newbie array question

2002-08-13 Thread S.P. Telgenhof Oude Koehorst
Hi Alexander, Have a look at the 'explode'-function (http://www.php.net/manual/en/function.explode.php). That should do the trick. Success! Sacha Telgenhof "Alexander Ross" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > If I have a string variable that is a