PHP Classes

only one country showing

Recommend this page to a friend!

      PHP Corona Virus Database  >  All threads  >  only one country showing  >  (Un) Subscribe thread alerts  
Subject:only one country showing
Summary:sql change
Messages:3
Author:numanuma
Date:2020-04-23 10:25:34
 

  1. only one country showing   Reply   Report abuse  
Picture of numanuma numanuma - 2020-04-23 10:25:34
Hello Max,

Thanks for your API project.

As I had only one country showing (US), with an SQL error, I added "auto increment" on the "id" field in the "country" table.
Now the database is totally filled after "update".

Hope that helps,

Thanks
Manuel

  2. Re: only one country showing   Reply   Report abuse  
Picture of Max Base Max Base - 2020-04-23 10:46:02 - In reply to message 1 from numanuma
Hello Dear,

Go to **MySql** management and set `id` column in "country" table as AUTO_INCREMENT.

Regards,
Max

  3. Re: only one country showing   Reply   Report abuse  
Picture of Max Base Max Base - 2020-04-23 10:48:21 - In reply to message 2 from Max Base
Thanks you for mention it,
I hope your message will be useful for beginners.

Thanks