Jump to content

update numerous records


brown2005

Recommended Posts

you helped me on my other topic and you gave me

UPDATE table2 SET `fieldname` = (SELECT letter FROM table1 ORDER BY RAND())

but that didnt work..

what i want to do is

take say 10 records from one table....

and update a field in 10 records from a different table but using the 10 above randomly
Link to comment
https://forums.phpfreaks.com/topic/7195-update-numerous-records/#findComment-26183
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.