- Joined
- Jul 21, 2008
- Messages
- 5,177 (0.90/day)
System Name | [Daily Driver] |
---|---|
Processor | [Ryzen 7 5800X3D] |
Motherboard | [Asus TUF GAMING X570-PLUS] |
Cooling | [be quiet! Dark Rock Slim] |
Memory | [64GB Corsair Vengeance LPX 3600MHz (16GBx4)] |
Video Card(s) | [PNY RTX 3070Ti XLR8] |
Storage | [1TB SN850 NVMe, 4TB 990 Pro NVMe, 2TB 870 EVO SSD, 2TB SA510 SSD] |
Display(s) | [2x 27" HP X27q at 1440p] |
Case | [Fractal Meshify-C] |
Audio Device(s) | [Steelseries Arctis Pro] |
Power Supply | [CORSAIR RMx 1000] |
Mouse | [Logitech G Pro Wireless] |
Keyboard | [Logitech G512 Carbon (GX-Brown)] |
Software | [Windows 11 64-Bit] |
I'm trying to figure out the best way to do a cronjob on a mysql table.
I have a column called CharID and I need to SELECT that for each row and use it as a variable in an XML query. The xml query is an API call that I'm using to get an attribute from the CharID. Depending on this attribute I want to update another row in the table.
My issue is I'm not sure how to get it to loop thru every row. I know how to do it for one row on its own but not for all the rows.
I'm most comfortable with PHP so that's preferred but willing to look at other options.
I have a column called CharID and I need to SELECT that for each row and use it as a variable in an XML query. The xml query is an API call that I'm using to get an attribute from the CharID. Depending on this attribute I want to update another row in the table.
My issue is I'm not sure how to get it to loop thru every row. I know how to do it for one row on its own but not for all the rows.
I'm most comfortable with PHP so that's preferred but willing to look at other options.