php - Populating Navigation Tabs with SQL? -
I am looking for any kind of new tab (vertical) which allows it to populate by SQL. For example, the SQL table will have a column for the title (which is the title of the tab) and a column for the contents of the tab.
I have tried to build myself myself, but I do not know how to fit it in the shipping times, because usually I loop for sometime to do some popups with SQL, But because the NAV has two things that need <<> << Code> and Thank you. Edit: You feel that it would be fine, you might be able to do something As for ending half of your DB calls, get information from and
// db. & Lt ;? php $ query = tep_db_query ("selection tabbed, tabulate, tab 1 ($ Line = mysql_fetch_assoc ($ query)) {$ table [] = $ row;}? & Gt; & lt; ul & gt; & lt ;? Php foreach ($ Table $ line) {Echo & lt; li & gt; & lt; a Href = "# tab- '. $ Line ['tabid']. "" & Gt; . $ Line ['tabetle'] '& lt; / A & gt; & Lt; / Li & gt; '; }? & Gt; & Lt; / Ul & gt; & Lt ;? Php foreach ($ table $ line) {echo '& lt; Div id = "tabs- '. $ Line [' tabid ']." & Gt; & Lt; P & gt; '$ Line [' tab content ']' & lt; / P & gt; '; }? & Gt;
Comments
Post a Comment