I have this php code

for ($count=0;$count<sizeof($units);$count++) {
echo "<a href='btec-first/index.php?unit=" . $units[$count] .
"&folder=/" .  $btec_first_folder[$units[$count]-1] . "'
target='content'>BTEC First - Unit " . $units[$count] . "</a><br>\n";

which sends the data to file index.php as part of the URL.

Is it possible to use POST instead so that the path info is not
visible to the user?

I have thought of ajax/prototype but this would need the array data to
be passed to JavaScript and not clear how to do this?

Any other way?



You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to