I'm finding it hard to use strtok to seperate a array element ( 110078987-Filename ) and also using values, for example
if ($pass = $array[3])
how can I turn $array[3] into a $variable
Hi Megahertza,
Not sure I understand what you're trying to ask, but your if clause contains an assignment ...
$pass = $array[3]
... and not a comparison (test for equality)
$pass == $array[3]
Could that be your problem?
Paul.
EDIT Typo