Hey all!
I was wondering, is there a html way to point html to another html file to load in "select" info?
I use the same select info for several files and everytime I have to make a correction or addition I have to go to about 4 different places and edit them. What I would like to do is to use something like php and "include" with html.
Instead fo this in my html code:
<select name="Event">
<option value="abcd"</option>
<option value="abcd"</option>
<option value="abcd"</option>
<option value="abcd"</option>
<option value="abcd"</option>
</select>
I would like to have something like php:
include "event"
So I only have to edit the file once and not several times on several different pages? ANy ideas how to do this? tia,
*****************************************
After posting I realize that I could use php to do this, but that still begs the question, is there a html way to do this?Not really. You could also do it with javascript, which wouldn't require the server side tech.Even if your host doesn't give you PHP they may have SSI available.Thanks for the suggestions. I didn't mention that it's an apache server with php tied to a mysql server. I guess that I can just wrap it in php and use the include statement. thanks again for the suggestions.
I was wondering, is there a html way to point html to another html file to load in "select" info?
I use the same select info for several files and everytime I have to make a correction or addition I have to go to about 4 different places and edit them. What I would like to do is to use something like php and "include" with html.
Instead fo this in my html code:
<select name="Event">
<option value="abcd"</option>
<option value="abcd"</option>
<option value="abcd"</option>
<option value="abcd"</option>
<option value="abcd"</option>
</select>
I would like to have something like php:
include "event"
So I only have to edit the file once and not several times on several different pages? ANy ideas how to do this? tia,
*****************************************
After posting I realize that I could use php to do this, but that still begs the question, is there a html way to do this?Not really. You could also do it with javascript, which wouldn't require the server side tech.Even if your host doesn't give you PHP they may have SSI available.Thanks for the suggestions. I didn't mention that it's an apache server with php tied to a mysql server. I guess that I can just wrap it in php and use the include statement. thanks again for the suggestions.