Hello there,
Hope someone can help.
I have data arriving in a table, a Cron job is triggered when the data arrives.
----
table_1
id (unique)
name
message
author_id (this is the field i need to collect the data from another table)
---
One of the fields in the 'table_1' table needs to call data from the 'user' table where the data in author_id (table_1) and id (user) is an exact match...., the user table contains some of the following example fields:
----
user
id (unique) - THIS IS THE FIELD I NEED TO GET INTO THE 'author_id' field of table_1
name
age
etc
___
Looking around, I think I need to use preg_match, but am struggling
Any support/advice most welcome, I'm new to this forum :-)