I need to pass a string (long name, for example) in URL.
Currently I can add it like this:
$url = '../some/url/page.php?action=pass&var=something&name=Bob William Jake Marcus II
but I need to pass each part of the name as a separate variable and then assemble the full name on the other side (page.php).
I need it to look like this:
$url = '../some/url/page.php?action=pass&var=something&name1=Bob&name2=William&name3=Jake&name4=Marcus&name5=II
And on the page.php I need to take all these variables, name1 - name5 and assemble into
$name = 'Bob William Jake Marcus II';
How do i do that? I'm a bit confused...