♥Monika in Germany Posted July 23, 2005 Share Posted July 23, 2005 here is my sourcecode ... I cannot see where those lines are being generated! <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="1" height="10"></td> </tr> <tr> <td align="center" class="smallText">Diesen Artikel haben wir am Samstag, 23. Juli 2005 in unseren Katalog aufgenommen.</td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="1" height="10"></td> </tr> <tr> <td><table border="0" width="500" cellspacing="0" cellpadding="0"> <TR class="dataTableHeadingRow"><TD class="dataTableHeadingContent"><B>US-Gr?sse</B></TD><TD class="dataTableHeadingContent"><B>Stock</B></TD><TD class="dataTableHeadingContent"><B>Value Price</B></TD><TD class="dataTableHeadingContent"><B>Price Prefix</B></TD><TD class="dataTableHeadingContent"><B>Sort Order</B></TD></TR><TR class="attributes-odd"><TD class="main"><input type="checkbox" name="optionValues[]" value="17" CHECKED> 7,5 </TD><TD class="main" align="left"><input type="text" name="17_stock" value="" size="10"></TD><TD class="main" align="left"><input type="text" name="17_price" value="0.0000" size="10"></TD><TD class="main" align="left"><SELECT name="17_prefix"> <OPTION value="+" SELECTED>+<OPTION value="-">-</SELECT></TD><OPTION VALUE="-">-<TD class="main" align="left"><input type="text" name="17_sort" value="0" size="4"></TD></TR><TR class="attributes-even"><TD class="main"><input type="checkbox" name="optionValues[]" value="16" CHECKED> 7 </TD><TD class="main" align="left"><input type="text" name="16_stock" value="" size="10"></TD><TD class="main" align="left"><input type="text" name="16_price" value="0.0000" size="10"></TD><TD class="main" align="left"><SELECT name="16_prefix"> <OPTION value="+" SELECTED>+<OPTION value="-">-</SELECT></TD><OPTION VALUE="-">-<TD class="main" align="left"><input type="text" name="16_sort" value="0" size="4"></TD></TR><TR class="attributes-odd"><TD class="main"><input type="checkbox" name="optionValues[]" value="15" CHECKED> 6,5 </TD><TD class="main" align="left"><input type="text" name="15_stock" value="" size="10"></TD><TD class="main" align="left"><input type="text" name="15_price" value="0.0000" size="10"></TD><TD class="main" align="left"><SELECT name="15_prefix"> <OPTION value="+" SELECTED>+<OPTION value="-">-</SELECT></TD><OPTION VALUE="-">-<TD class="main" align="left"><input type="text" name="15_sort" value="0" size="4"></TD></TR><TR class="attributes-even"><TD class="main"><input type="checkbox" name="optionValues[]" value="14"> 6 </TD><TD class="main" align="left"><input type="text" name="14_stock" value="" size="10"></TD><TD class="main" align="left"><input type="text" name="14_price" value="" size="10"></TD><TD class="main" align="left"><SELECT name="14_prefix"> <OPTION value="+">+<OPTION value="-">-</SELECT></TD><OPTION VALUE="-">-<TD class="main" align="left"><input type="text" name="14_sort" value="0" size="4"></TD></TR> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" border="0" alt="" width="1" height="10"></td> </tr> please help ... :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted July 24, 2005 Author Share Posted July 24, 2005 "><SELECT name="15_prefix"> <OPTION value="+" SELECTED>+<OPTION value="-">-</SELECT></TD><OPTION VALUE="-">-<TD class="main" align="left"><input type="text" name="15_sort" so this is the offending code from sourcecode that is creating those extra lines with the - in them obviously between the closing td and the next opening there is an additional orphan <OPTION VALUE="-">- I attach the part of my phpcode producing this ... I have been starring at the code for a while now, but no luck. Anyone have better eyes? } else { echo "<TD class=\"main\" align=\"center\"><SELECT name=\"" . $current_value_id . "_prefix\"><OPTION value=\"+\"" . $posCheck . ">+<OPTION value=\"-\"" . $negCheck . ">-</SELECT></TD>"; if ( $optionSortCopyInstalled == "1" ) { if (tep_not_null($HTTP_GET_VARS['pID'])) { getSortCopyValues( $current_value_id, $HTTP_GET_VARS['pID'] ); } else { $attribute_sort = ''; } echo "<TD class=\"main\" align=\"center\"><input type=\"text\" name=\"" . $current_value_id . "_sort\" value=\"" . $attribute_sort . "\" size=\"4\"></TD>"; } } echo "</TR>"; :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted July 24, 2005 Author Share Posted July 24, 2005 got this resolved! the function getSortCopyValues was buggy! :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
Jan Zonjee Posted July 24, 2005 Share Posted July 24, 2005 I attach the part of my phpcode producing this ... I have been starring at the code for a while now, but no luck. IMHO it looks like this function is echo'ing the <OPTION VALUE="-">- ? getSortCopyValues( $current_value_id, $HTTP_GET_VARS['pID'] ); But where it should be positioned for what it is supposed to do :blink: Too late :thumbsup: Link to comment Share on other sites More sharing options...
♥Monika in Germany Posted July 24, 2005 Author Share Posted July 24, 2005 IMHO it looks like this function is echo'ing the <OPTION VALUE="-">- ? getSortCopyValues( $current_value_id, $HTTP_GET_VARS['pID'] ); But where it should be positioned for what it is supposed to do :blink: Too late :thumbsup: <{POST_SNAPBACK}> thanks Jan! I could not keep my eyes off it ;-) ... and I only beat you by 30 min or so ... :-) Monika addicted to writing code ... can't get enough of databases either, LOL! my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum Interactive Media Award July 2007 ~ category E-Commerce my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.