[RESOLVED] load html file into textarea with <select>
Basicly I have a form, that contains a textarea and a select list. All the items in the select list should have an associated html file. What I want to do is that when a select option is selected the html code from the assosiated html file is pasted into the textarea.
Anyone can help me construct a code like this?
i know how to do this using 2 files (html and php):
the html-file you can see here
$link = $_GET['url'];
$output = '';
$output .= file_get_contents($link);
both files must be in the same directory
Thanks! Works perfectly
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)