-1
The following Array is sent to a API through a POST using CURL:
$content = array(
'name' => $_POST['name'], // Recebe String de um <form>
'price' => $price,
'stock' =>$stock,
'link' => $_POST['link'], // Recebe Array de um <form>
'picname' => $img_name
);
CURL responsible for sending:
curl_setopt( $ch, CURLOPT_POSTFIELDS, $content );
My doubt is, how to send along to $content to $_POST['link'] received by a <form>?