> 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 I know a value is there

Work from this one and try:

$keytoinsert = $$keyservice_type;
$service_type_insert = $x[$keytoinsert];

... I don't think you can reference variables as $$something
inside [] braces.

Jason

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to