PHP Classes

Table name

Recommend this page to a friend!

      PHP User Login class  >  All threads  >  Table name  >  (Un) Subscribe thread alerts  
Subject:Table name
Summary:Table name change and doesn't insert new entry
Messages:2
Author:Dejan Vel
Date:2019-02-23 03:53:53
 

  1. Table name   Reply   Report abuse  
Picture of Dejan Vel Dejan Vel - 2019-02-23 03:53:53
Firstly, thank you so much for the class you gave us. All works fine until I tried to use my own table instead of table you provided. It doesn't want to insert new entry. In the same time it wants to update password for the existing entry, from the recover.php.
Would you have any idea why this is happening and what could be the issue?
I tried with same field names, the only difference is the table name but doesn't work.
Once again, thank you so much.

  2. Re: Table name   Reply   Report abuse  
Picture of Oleg Zorin Oleg Zorin - 2020-02-19 06:02:38 - In reply to message 1 from Dejan Vel
Too late, but...
Good day!
If you want to rename your user table, you should do 2 steps:
1. Reneme DB table
2. Change table definition in user.class.php (31).

Also you can rename fields in DB table using same steps.

 
For more information send a message to info at phpclasses dot org.