Jump to content

How to automate a button?


divadiva

Recommended Posts

I have a screen in my website that says

Enter Database Password:  When I hit Go it opens up a form.

 

I have entered Session password as a default password .I want that 'GO' should automatically be clicked.So I shouldnt see the "database password" screen

 

 


<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0"> 
	  <TBODY> 
		 <TR> 
			<TD>Database Password</TD> 
			<TD>  </TD> 
			<TD> 
			  <INPUT TYPE="PASSWORD" NAME="super_pass" VALUE ='$_SESSION' SIZE="20"></TD> 

			<TD>  </TD> 
			<TD> 
			  
			  <INPUT TYPE="SUBMIT" NAME="Submit1" VALUE='Go'></TD> 
		 </TR> 
	  </TBODY> 

 

Actually, whenever I enter datbaase password it taked me to this  form .Now that session password is my default for this screen how can I get rid of "Enter Dstabase" screen.

 

 

if($edit) {  
	if( $dblog == $dbsup) {

		// logged in to superadmin database
		if($delete)  {
			delete();
			}
		else {
			if($done) {
				save();
			}
			//**** displaying form
			form();
		}
	}
	else {

		superpw() ;

		}
}
else {
	error() ;
}
  }
  




 

Thankyou in advance

Link to comment
https://forums.phpfreaks.com/topic/134119-how-to-automate-a-button/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.