Gossamer Forum
Home : Products : DBMan : Installation :

only getting to main menue

Quote Reply
only getting to main menue
I am attempting to access DBman by a submit form command. (below) However it only gets me to the main menu, whereas the hyperlink (bottom) takes me to the query result. Can anyone advise me of the correct way to get the query result using a submit routine?

rgs peterUnsure


<form action='db.pl' method='post'>
<input IMG alt='Bookings' src='../www/images/customers_big.gif' type='image' name='submit' value='db=default&uid=default&view_records=1&keyword=unique1&view_records=View+Records'>
</td></tr></table></FORM><BR>


<font face=Arial color=black size=1>
<A href='../cgi-bin/db.pl?db=default&uid=default&view_records=1&ID=*'><IMG alt=Bookings src='../www/images/customers_big.gif' border=0 ></A><BR>Bookings</FONT>
</p></center>|;
Quote Reply
Re: [peterhall] only getting to main menue In reply to
You need to put the information that you're passing into hidden fields.

Code:
<form action='db.pl' method='get'>
<input type=hidden name="db" value="default">
<input type=hidden name="uid" value="default">
<input type=hidden name="ID" value="*">
<input type=hidden name="view_records" value="1">
<input IMG alt='Bookings' src='../www/images/customers_big.gif' type='image' name='submit'>
</form>


JPD
----------------------------------------------------
JPDeni's DBMan-ual
How to ask questions the smart way.
Quote Reply
Re: [peterhall] only getting to main menue In reply to
Many thanks CarolWink