Request Access. : I try to a web browser into a form to display HTML in a field. [access xp] [html codes]
Q: Hey guys, wish I could
i the title of the message .
but shortening here is a problem Im running a into.
i area codes.
i html try out the html display in a browser in a form.
any help would be greatly appreciated.
i Access XP.
Re:argg….
it looks like i'm going to have to do it all over with php/mysql. ![]()
Re:ergeorge…
thanks for your input in this.
perhaps i'm not explaining this correctly.
i'm trying to develop a database in Microsoft Access 2002.
inside this .mdb file, i have my tables and fields as well as forms.
i have table A, B, C
and inside table A,
i have field 1,2,3
inside table A, field 3,
i have html codes.
inside a form based on Table A,
i have displayed field 3.
underneath the field, i would like to put in a box (web browser) where it would display the html content (not the codes) in the field 3.
Re:Originally posted by: guy
i could do it in php…
but that means… i have to rewrite everything again.
Well, I obviously don't know the details, but why would you have to rewrite anything?
You'd just put a PHP block in the middle of the rest of your normal HTML. Just a print() call.
Let's say you want to change the font color for some block. If the color name is in the variable $color, it would look like this:
<table>
<tr>
<td>
<? print("<font color=\"$color\">"); ?> Colored Block </font>
</td>
<td>
…..
The bit between the <? ?> is the PHP code.
Of course, I know nothing about ActiveX, so maybe that's it.
i was able to use activeX control function to pull
Microsoft Web Browser
but… i have no idea how to let that object be controlled by the content of the html field.
help..
tia
Re:i could do it in php…
but that means… i have to rewrite everything again.
i was able to use activeX control function to pull
Microsoft Web Browser
but… i have no idea how to let that object be controlled by the content of the html field.
help..
tia
Re:This is trivial in PHP if that's an option.
Related posts
Tags: access xp, html codes