<select> is not charging the defined data when editing

Hi everone,

I am having problems with a elements. To create the article I have no problem, but when I want to edit one it is supposed that it has to charge the values for that article. Only one


<option value="<?php echo $titular ?>" <?php if ($juego == '<?php echo $titular ?>') {echo 'selected';} ?>><?php echo $game['titulo'] ?></option>

to change

<option value="<?php echo $titular ?>" <?php if ($juego ==  $titular ) {echo 'selected';} ?>><?php echo $game['titulo'] ?></option>

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.