Jump to content

UPDATE after INSERT?


solinent

Recommended Posts

Yeah, I am doing that, but it doesn't seem to work.  The SELECT doesn't return good results, or some error is happening.

 

First I crawl some webpages, insert values into a table.

 

Then, I SELECT the table in order, and then UPDATE it with the order number (because doing it with mysql every time would take too much time).

 

This needs to run every day with cron, so I need to fit it in one script.  It works if I separate the scripts.

Link to comment
https://forums.phpfreaks.com/topic/61566-update-after-insert/#findComment-306420
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.