Re: [PHP] Re: how can I add a variable to this sample

2002-01-03 Thread Tom Beidler
No more callers. We have a winner! Thanks to all for your input! > From: "Geo" <[EMAIL PROTECTED]> > Date: Fri, 4 Jan 2002 02:27:45 +0200 > To: "Tom Beidler" <[EMAIL PROTECTED]> > Subject: Re: how can I add a variable to this sample > > $x[$key.'service_type'];. please tell me if it works. > >

RE: [PHP] Re: how can I add a variable to this sample

2002-01-03 Thread Martin Towell
t; and not interpreting it -Original Message- From: Tom Beidler [mailto:[EMAIL PROTECTED]] Sent: Friday, January 04, 2002 11:00 AM Cc: php list Subject: [PHP] Re: how can I add a variable to this sample So far nothing seems to work which leads me to believe there's something else wrong.

[PHP] Re: how can I add a variable to this sample

2002-01-03 Thread George Nicolae
$x[$key.'service_type']; -- Best regards, George Nicolae IT Manager ___ X-Playin - Professional Web Design www.x-playin.f2s.com "Tom Beidler" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > So far nothing seems to work which leads me to

RE: [PHP] Re: how can I add a variable to this sample

2002-01-03 Thread Jason Murray
> So far nothing seems to work which leads me to believe > there's something else wrong. > > Here's what I've tried > > $service_type_insert = $x['926service_type']; //works fine > when I hard code > a value in and returns proper value > > $service_type_insert = $x[$$keyservice_type]; //retur

[PHP] Re: how can I add a variable to this sample

2002-01-03 Thread Tom Beidler
So far nothing seems to work which leads me to believe there's something else wrong. Here's what I've tried $service_type_insert = $x['926service_type']; //works fine when I hard code a value in and returns proper value $service_type_insert = $x[$$keyservice_type]; //returns empty even though

[PHP] Re: how can I add a variable to this sample

2002-01-03 Thread Philip Hallstrom
$service_type_insert = $x[${key}service_type]; should work. On Thu, 3 Jan 2002, Tom Beidler wrote: > I have a large form that I would like to edit a number of records. I'm > putting all of the fields into one array and then I would like to pull the > fields independently from a loop. > > > Here