Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
JFarneth #1
Database to ASP
Hello,
I am building a page with a stats bar which can be dynamically updated (this
is the best method, as every page uses the same bar). There are some stats
(such as an ASP countdown to a date) that I would really like to use, but when
I put in the VBScript <%response.write(DateDiff("d", Now(), x))%> all that is
posted on the page is what you see. For example, if I manually place the
script into the page it returns a value of 15, but when it is dynamically
placed in by the database I just get the script appearing. Is it possible to
fix this? The point is to have as little intervention into the website as
possible (such as creating application variables), I would like to add a number
of different functions like this in the future. Thanks for your help,
Jason Farneth
Just to cover the ground - ASP VBScript, DW8, Access Database
JFarneth Guest
-
MySQL Database not retrieving the full database
Hi, I am using MySQL and PHP for my repository. It has 500+ records. till now it was displayiing all records in the database, but since from one... -
Import Data from flat-database to relational-database
Before I start I need some tips and pleas excuse my bad english. I have two databases, one is flat and one is a relational database. example ... -
NEWBIE HELP Import Data from flat-database to relational-database
I want to import Data from a simple Database, which contains all Information in one big record into a relational Database and split up the big... -
Passing database info to page allow user input then pass into another database
Hi I really am going crazy! I'm using VBScript, ASP, and SQL My page reminds me of a shopping cart but looking at shopping cart examples has not... -
Another user has modified the contents of this table or view; the database row you are modifying no longer exists in the database;
Hi, I am testing a trigger that and I am getting this error message saying "Another user has modified the contents of this table or view; the... -
Lionstone #2
Re: Database to ASP
You can't store server-side code in the database. As you're seeing,
anything from the database is treated as output. You'll have to use a
client-side javascript instead because javascript IS output and isn't
executed until the page is loaded by the client.
"JFarneth" <webforumsuser@macromedia.com> wrote in message
news:e2n06a$7h5$1@forums.macromedia.com...> Hello,
> I put in the VBScript <%response.write(DateDiff("d", Now(), x))%> all that
> is
> posted on the page is what you see. For example, if I manually place the
> script into the page it returns a value of 15, but when it is dynamically
> placed in by the database I just get the script appearing.
Lionstone Guest



Reply With Quote

