Jump to content

[SOLVED] Php with mysql


MemphiS

Recommended Posts

Inserting and Updating are completely different things, I don't even know why your debating which one to use, they both have a separate purpose.

 

Give us more information on what your doing. Your saying your updating every 10 minutes, so what are your inserting?

Link to comment
https://forums.phpfreaks.com/topic/84962-solved-php-with-mysql/#findComment-433241
Share on other sites

Clearly i havent explained this well with those responces :| . All im asking is... Is it better to use an INSERT() or rather just UPDATE() the information.  I update site statistics which i already said above. EG: how many users are currently registered. In total i have 25 columns.  I could simply just go: mysql_query("UPDATE `table` SET `` = '' WHERE `` = ''"); or what im currently doing which is inserting a new row every 10 minutes.

 

:-\

Link to comment
https://forums.phpfreaks.com/topic/84962-solved-php-with-mysql/#findComment-433246
Share on other sites

Clearly i havent explained this well with those responces :| . All im asking is... Is it better to use an INSERT() or rather just UPDATE() the information.  I update site statistics which i already said above. EG: how many users are currently registered. In total i have 25 columns.  I could simply just go: mysql_query("UPDATE `table` SET `` = '' WHERE `` = ''"); or what im currently doing which is inserting a new row every 10 minutes.

 

:-\

Uh, I have no idea why you're confused on this. Key word: Logic. I think if you re-read what you just typed, you should know that you already answered your own question. ;)

Link to comment
https://forums.phpfreaks.com/topic/84962-solved-php-with-mysql/#findComment-433247
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.