I want to pass an array of values through as variables, and in ASP I know you can do it.
But when I try an equivelant in php:
I get:
when I want to get nivek cooldude boborstuff
Any idears?
Kevin
Code:
[URL unfurl="true"]http://localhost/array.php?id=nivek&id=cooldude&id=boborstuff[/URL]
Code:
<?php
$Counter = 0;
while ($id[$Counter]) {
echo $id[$Counter]." ";
$Counter++;
}
?>
Code:
b o b o r s t u f f
Warning: Uninitialized string offset: 10 in c:\inetpub\[URL unfurl="true"]wwwroot\array.php[/URL] on line 7
Any idears?
Kevin