• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Knute Snortum
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Joe Ess
  • salvin francis

Insert Error Logs on registration failures to a table in PHP

Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am modifying a system, where I need to add error log on registration failures when existing e-mail found, existing National Identity card(NIC) found and in captcha failures. To insert error log records, going to use the table z_error_log. I think this need to be done in the “else” part of the Vendor_cont.php file. Currently this provides an error messgae if an existing e-mail is used. I need to send that error log to the db. This is the code and I really appreciate your help as I am getting stuck on this point.
I want to add the error log to the z_error_log table when an existing e-mail or NIC found. I have no idea of how to do that or where to insert taht code. Please help me. Thanks in advance.

=====Vendor_cont.php file=======


Something about .... going for a swim. With this tiny ad ...
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!