[mod_python] reg sql query

python eager python_eager at yahoo.com
Mon Jan 9 04:37:50 EST 2006


Hi
     i am insert three datas from form into sql through python. While running there is no error. But the datas are not stored in that table. If the values are print through self.writeln(fieldname). it will be working properly. the values are not stored in that table..
  All the connections are nice.
   
   cursor.execute("INSERT INTO PERSONALDETAILS(FIRSTNAME,MIDDLENAME,LASTNAME) VALUES ('%s', '%s', '%s')"
                         % (fname,mname,lname))
   
  Please solve this problem.
   
  Thank you
   
  bye
  Python Eager
   
   

		
---------------------------------
 Yahoo! DSL Something to write home about. Just $16.99/mo. or less
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20060109/6f721df7/attachment.html


More information about the Mod_python mailing list