Accessing my variables


echo $html->link( "SOME TEXT" , array('controller'=>'modules', 'action'=>'grade', $varOne,$VarTwo), array('class'=>'button'));

Hi i am trying to pass two variables to my controller when my user clicks a link.

Is that possible?

usually when i put a single variable i can just put function grade($id = null) and access my variable through $id, but how will i access my second var in this case? thanks!

Asked by silverskull, on 1/3/10

1 Answer

function grade($id = null, $abc = null)

Answered by dogmatic69on 1/3/10

thanks loads.. lol didn't know it was so simple!

silverskull - on 1/3/10

<< comments | comments >>
<< previous next >>

Rating

0

Viewed

149 times

Last Activity

on 1/3/10