Erreur de syntaxe

diaph84 -  
 le père -
Bonjour,
je n'arrive pas à faire apparaître la destination sur le bouton (value):
<?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
<td align="right"><?php echo '<form><input type="button" class="bouton2" value="\ ' . echo TEXT_VISUALS; . ' \'" OnClick="window.location.href=\'' . tep_href_link(FILENAME_ADVANCED_SEARCH, $cPath_new) . '\'"></form>'; ?>

le reste marche.
merci de m'aider

2 réponses

diaph84 Messages postés 42 Statut Membre
 
personne pour m'aider???
0
le père
 
Bonjour

<?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
<td align="right"><?php echo '<form><input type="button" class="bouton2" value="' , TEXT_VISUALS , '" OnClick="window.location.href="', tep_href_link(FILENAME_ADVANCED_SEARCH, $cPath_new) ,'"></form>'; ?>

en espérant que TEXT_VISUALS et FILENAME_ADVANCED_SEARCH sont bien définis quelque part comme des constantes, et tep_href_link comme une fonction
0