-   Linux - Software (
-   -   problem with html form (

meluser 03-15-2003 08:22 AM

problem with html form

please can someone tell me where i can find a html forum, or maybe someone can help me, please.

the problem is as follow:

we have a search.php, the search action goes to index.html.

now index.html has 2 frames, mainmenu.php, and welcome.html.

the problem is when i do a search in search.html, and press go, it brings up empty results.

i have tried to change action to mainmenu.php. the reuslts are right, but index does not show as would be expected.


niknah 03-15-2003 09:20 AM

your url doesnt work,

the action=... should not go to a .html file, it does nothing.

meluser 03-15-2003 10:40 AM

this page action is set to mainmenu.php, i get the right results:

but i would like to display these results inside the frame, rather than taken a whole page.


niknah 03-15-2003 10:58 AM

the action to search.php should be set to index.php

and in index.php you should replace your <frame with...

<frame src=mainmenu.php?" . $QUERY_STRING . ">

meluser 03-15-2003 12:28 PM


still not working:

<TITLE> Welcome to my Web site! </TITLE>


<FRAME NAME="menu" src=mainmenu.php?" . $QUERY_STRING . ">

<FRAME NAME="main" SRC="welcome.html">


<H1>Welcome!</H1> <P>This site was designed to use frames to provide a menu bar to ease navigation; however, your browser does not support frames. Click <A HREF="welcome.html">here</A> to go to the main page of our site, where you can use the alternative links we have provided to get around the site.


All times are GMT -5. The time now is 10:57 AM.