Forum Moderators: coopster
and the register.php file line no. 46 goes like this-
<tr><td align="center"><?php echo tep_draw_pull_down_menu('categories_id', tep_get_category_array_recursion(array(array('id' => '', 'text' => ' -- Select Age -- ')),''),$current_category_id,' style="width:150px" onChange="javascript:location.href='index.php?cPath='+document.getElementById('categories_id').value"'); ?>
</td></tr>
Can you help me out with this?
this portion has a bunch of mismatched quotes
' style="width:150px" onChange="javascript:location.href='index.php?cPath='+document.getElementById('categories_id').value"'
try this
<tr><td align="center"><?php echo tep_draw_pull_down_menu('categories_id', tep_get_category_array_recursion(array(array('id' => '', 'text' => ' -- Select Age -- ')),''),$current_category_id,' style="width:150px" onChange="javascript:location.href=\'index.php?cPath=\'+document.getElementById(\'categories_id\').value"'); ?>
</td></tr>
since the whole thing is surrounded by single quotes then single quotes inside of that need to be escaped by preceding them with \
[php.net...]