Sunday 15 July 2012

html - PHP SQL - appearing outside div tag -


I have tried to remove statistics without any success, I wonder if someone can help?

I have a dropdown menu on my site that is working perfectly. I have repeated one of the menu options and after this I did this, it still works fine, it is a The php / sql query was, but once it was duplicate it should have been done.

What did I do then SQL and although the query is correct (checked in myphpadmin) all my results appear on behalf of the divi tag for some reason, it seems that the window tag is automatically shutting down .

Here's my code: '

  & lt; Li & gt; & Lt; A href = "#" square = "drop"> Brand & lt; / A & gt; & Lt ;! - Start 4 column items - & gt; & Lt; Div class = "dropdown_5columns" & gt; & Lt ;! - Start 4 column containers - & gt; & Lt; Div id = "top" & gt; & Lt; / Div & gt; & Lt; Div class = "col_4" & gt; & Lt; H2 style = "width: 98%;" & Gt; Choose from the following brands: & lt; / H2 & gt; & Lt; / Div & gt; & Lt; Div class = "coli_1" style = "width: 190px;" & Gt; & Lt ;? Php $ databrand = mysql_query ("Select DISTINCT (brand), 'from pt (' pt_products`) as COUNT (*), where 'brand' '' brand '' group by 'range 5') or die (mysql_error ( );; ($ INFOBrand = mysqlfetch_array ($ databrand)) {Print "& lt; Li style = 'width: 190px;' & Gt; "; Print" & lt; A href = '/ brand' & gt; $ $ Infobrand ['Brand'] (". $ INFOBRAND ['Total'].)  & lt; / li & gt;"; } Print "& lt; / div & gt;"; ? & Gt; & Lt; Div id = "down" & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt ;! - Expires 4 column containers - & gt; & Lt; / Li & gt; `  

I do not know this

I have tried to remove and resume duplicate content, but get the same results.

Any help would really be appreciated.

  & lt; Li & gt; & Lt; A href = "#" square = "drop"> Brand & lt; / A & gt; & Lt;! - Start 4 column items - & gt; & Lt; Div class = "dropdown_5columns" style = "status: complete;" & Gt; & Lt ;! - Start 4 column containers - & gt; & Lt; Div id = "top" & gt; & Lt; / Div & gt; & Lt; Div class = "col_4" & gt; & Lt; H2 style = "width: 98%;" & Gt; Choose from the following brands: & lt; / H2 & gt; & Lt; / Div & gt; & Lt; Div class = "coli_1" style = "width: 190px;" & Gt; & Lt; Li style = 'width: 190px;' & Gt; & Lt; A href = '/ brand' & gt; Baleario (50) & lt; / A & gt; & Lt; / Li & gt; & Lt; Li style = 'width: 190px;' & Gt; & Lt; A href = '/ brand' & gt; Dell Hardware (24) & lt; / A & gt; & Lt; / Li & gt; & Lt; Li style = 'width: 190px;' & Gt; & Lt; A href = '/ brand' & gt; Euro Speak Hardware (2) & lt; / A & gt; & Lt; / Li & gt; & Lt; Li style = 'width: 190px;' & Gt; & Lt; A href = '/ brand' & gt; Avalbild (35) & lt; / A & gt; & Lt; / Li & gt; & Lt; Li style = 'width: 190px;' & Gt; & Lt; A href = '/ brand' & gt; Jade Wayne (4) & lt; / A & gt; & Lt; / Li & gt; & Lt; / Div & gt; & Lt; Div id = "down" & gt; & Lt; / Div & gt; & Lt; / Div & gt; & Lt ;! - Expires 4 column containers - & gt; & Lt; / Li & gt;   

You can not tell from the bottom but first & lt; Li style = 'width: 190px;' & Gt; and & lt; / Div>

  • li / li>
  • Thank you in advance for your help.
  • You < Code> & lt; Li & gt; , which should be inside & lt; Ul & gt; or & lt; Ol & gt; , which you call a & lt; Div & gt; if you need it Alternatively, you can & lt; Li & gt; Anything else, such as , can change.

    Your problem occurs when you go to & lt; Tr & gt; & Lt; Td>

  • No comments:

    Post a Comment