Re: how to set submit.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



HI, 
Plesase search for post in last some days this issue has been
discussed several time in the list.
BTW double check the name of form submit button and register_global position.

zareef ahmed  

>On Mon, 27 Dec 2004 04:45:58 -0800 (PST), amol patil
<ajp_3077@xxxxxxxxx> wrote:
> hallo,
> 
> clicking on submit entered info. is not entering in database.
> 
> how to set submit , so that query wll execute correctly.
> 
> ?php
> 
>  if($submit)
>  {
> 
>   $dbh=mysql_connect ("localhost", "root") or die ('I cannot connect
> to
>  the database because: ' . mysql_error());
>  mysql_select_db ("dollar1_allinfo");
> 
>   mysql_query("INSERT INTO totalinfo (Username,Password) VALUES
>  ('$loginusername','$loginpassword')")or die (mysql_error());
> 
> }
> ?>
> 
> thank you.
> 
> 
> ---------------------------------
> Do you Yahoo!?
>  Send a seasonal email greeting and help others. Do good.
> 


-- 
Zareef Ahmed :: A PHP Developer in India ( Delhi )
Homepage :: http://www.zareef.net

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux