Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
jdbowman
Starting Member
4 Posts |
Posted - 2012-04-07 : 23:07:52
|
| I am fairly new to sql but very comfortable with other languages. I am currently building a website for a client and I and curious if SQL is right for this situation: I have a series of <div>'s that make up a blog container for each entry containing; header, content, footer(read more, etc). I am curious if I can use sql entries to populate the div's.Any feed back will be much appreciated, Thank you. |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2012-04-07 : 23:46:07
|
| You certainly can, but without more detail on what you're specifically trying to do it will be difficult for us to help. |
 |
|
|
jdbowman
Starting Member
4 Posts |
Posted - 2012-04-08 : 12:42:44
|
| I have "Threads" for a blog like page. Like the site i am building hosts events. I want to be able to put the entries and display it in this fashion...<!-- ********** Blog Panel ********** --><div class="blogWrapper"> <!-- for every entry i need to copy this div and all its contents. --><div class="blogContainerTop"></div> <!-- This is an bg image for of the top of the panel. --><div class="blogContainerMid"> <!-- This has a bg repeat-y and the body of the content goes here --><div class="blogPanelHeader"><b>this will be a field from the database</b></div><div class="blogPanelContent">This is where one of the fields from the sql data base will go <div class="blogPanelFooter"><a href="blog.aspx">Read More...</a></div></div></div><div class="blogContainerBottom"></div></div> <!--Copy all contents to this closing tag-->Okay I gave the best description I could lol. I'm not sure if sql will do this but if you could point me in the right direction that would be appreciated, but for every entry copy the div blogWrapper and fill its contents in div blogPanelHeader, div blogPanelHeader, and div blogPanelFooter(i would need to hyperlink the contents in blogPanelFooter as you can see in the code).I hope this is enough information. Thanks in advance for any help! Very appreciated! |
 |
|
|
robvolk
Most Valuable Yak
15732 Posts |
|
|
jdbowman
Starting Member
4 Posts |
Posted - 2012-04-08 : 15:13:14
|
| asp.net 4.0 is what im using. Thanks alot im gonna take a look at those links |
 |
|
|
jezemine
Master Smack Fu Yak Hacker
2886 Posts |
Posted - 2012-04-09 : 02:07:03
|
or skip all that and just use wordpress or some other already existing blog package. elsasoft.org |
 |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2012-04-09 : 07:05:21
|
| IIRC Wordpress only supports MySQL. |
 |
|
|
|
|
|