Hi all
I'm going nuts trying to get this to work: I have 2 frames in an html framset, the left hand one (called nav) being navigation buttons and the right (called data) the main display area of the page. The intent is that when someone selects a category on the left, the relevant database records are extracted and displayed on the right. I have the php/mySQL stuff working in isolation (hurrah!), but when I try and select the php from the html form in the left frame, I get some of the php code text displayed in the right hand window!
My code in the html form is:
<form method="post" target="data" action="showdata.php" name="navForm1">
<a href="javascript:document.navForm1.submit()"><img src="BTI%20leafAluminium.gif"
width="88" height="12" name="button1" border="0"></a>
<input type="hidden" name="selection" value="w">
</form>
where showdata.php is my php file that extracts and displays the records (or should!) based upon the data passed in the hidden variable 'selection'.
Any help much appreciated as I'm new to all of this....
Cheers