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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 insert ad image within database story output

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-11-29 : 08:26:46
Casey writes "Hello,
I need to implement "wow ads" on my site. Basically we currently have a story.asp file that outputs text of individual news stories. I need to make it so that a 300x250 image is inserted to the right about two paragraphs down of the story. Essentially it seems I need to split the body text into two variables so that I can insert the image between them. What would be the best way to do this? Any help you can provide would be appreciated!

Thanks,
Casey

(The site runs off of SQL Server 2000, Windows 2000 Server)"

Seventhnight
Master Smack Fu Yak Hacker

2878 Posts

Posted - 2004-11-29 : 08:39:38
I would not necessarily change your table layout for that. WHat if at some point you have more than 1 image to add. My suggestion would be that this should be done outside of SQL. If you are using ASP then that would probably be a likely bet.

Sorry I wasn't much help


Corey
Go to Top of Page
   

- Advertisement -