data is not entering in created database

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

 



hallo ,
 
i have wriiten simple php script , below.
created databse "dollar1_allinfo" with table 'totalinfo'
 
but on clicking submit button , 
 
information entered is not entering in database.
 
also,  echo statements are also not displaying after submit 
 
<?php
if ($submit)
    {
    $db = mysql_connect("localhost","root");
    mysql_select_db("dollar1_allinfo",$db);
    mysql_query("INSERT INTO totalinfo (username,password,) VALUES ('$loginusername','$loginpassword')");

     echo 'thank you';
     echo 'So Hurry Up';
  }
   ?>
 
 
 
 

thank you.


		
---------------------------------
Do you Yahoo!?
 Yahoo! Mail - Easier than ever with enhanced search. Learn more.

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

  Powered by Linux