02. februar 2007 - 23:23
Der er
5 kommentarer og 1 løsning
Comments i en tabel
Kan man ikke bruge comments i en tabel. Når jeg gør det, godkender serveren det ikke og udskriver mine comments i browseren ?
Annonceindlæg fra Conscia
02. februar 2007 - 23:34
#2
Ca midt i denne program stump, har jeg valgt 2 liner som comments. Har både prøvet med // og /* <?php } ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2" class="infoBox"> <tr class="infoBoxContents"> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"> // <?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> // <td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?> </td> <td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td>
02. februar 2007 - 23:37
#3
det er ikke omkrænset af <?php ?>, så det er almindelige html-kommentarer, <!-- kommentar -->