hi

i have this line in my script and it works fine:

$result["enqueue"] = $client->call("enqueue",array(1,array('5534','6625','6125'),));

i want to store '5534','6625','6125' in variable then use in this line:

$numbers="'5534','6625','6125'";

$result["enqueue"] = $client->call("enqueue",array(1,array($numbers),));

but it does not work. what do i do?

thanks

    It's kinda weird that you would want to do it like this, but anyway, try using eval():

    $result["enqueue"] = $client->call("enqueue",eval('array(1,array($numbers))')); 
    

      hmm... why are you doing it this way in the first place?

        Write a Reply...