Update HTML with Query

HeyMoe

Registered User.
Local time
Tomorrow, 00:17
Joined
Oct 12, 2007
Messages
19
Hi.
I want to first ask a general question about what I want to do. Just so I know if it's possible.
Hope that's OK?

I want to be able to update some HTML (Approx 110 lines. Just simple HTML tags) with the the result of a query.
The data I want to include will consist of only about 5 strings. Nothing major.
So most of the HTML will stay the same.

Is this feasible?

Thanks
MorrisC
 
you can using Replace() function or use RegExp.
 
I think you will need a HTML template to use Replace, else you will not know what to replace? Once you have replaced Surname with Bloggs, you would need to know that Bloggs then needs to be replaced on the next replace.
I am assuming you wish to replace the data within the tags?

Otherwise just generate it each time.
 

Users who are viewing this thread

Back
Top Bottom