How to upload and get ID via get request?

<a href="<?
echo '/favourite/?';
foreach ($result as $arMS)
$IDMESS .= 'items='.$arMS[ID].'&';
echo $IDMESS = substr($IDMESS,0,-1);

Get a link:
Turn on it and on the page put:
Displays only
Array ( [items] => 27361 )
Why and how to get in print_r($_GET) all ID?
March 12th 20 at 08:01
2 answers
March 12th 20 at 08:03
Use items[]=123&items[]=321
March 12th 20 at 08:05
The second overwrites the items of the 2nd all correct. Use different variable names.

Find more questions by tags PHP