Help with button link php/js
Posted: Wed Dec 08, 2010 2:59 pm
Hi, I'm new in php programming, I have been working with variable scopes and declarations, not sure what's wrong on this code:
It's sending me a js error that says ";" is mising,
I would appreciate any help on this one.
Code: Select all
echo '<INPUT TYPE="button" value="Allow Edit" onClick="parent.location='.$CFG->wwwroot.'/course/view.php?id='.$COURSE->id.'&edit=1&sesskey='.sesskey().';">';I would appreciate any help on this one.