Quote:
Originally Posted by Link14716
Change
Code:
$bbuserinfo[field9]
to
Code:
'$bbuserinfo[field9]'
The value needs to be surrounded by quotes or else it will think you are telling it to put the contents of the AK column of the thread table into the field9 column of the thread table, and since there is no AK column in the thread table it fails.
|
Thank you. That sure did the trick -- though I'm not sure I understand it fully.
$bbuserinfo[userid] is NOT in single quotes, and appears in the very same statement. Can you help me to understand the difference?
$bbuserinfo[userid] needs to be plucked from the 'users' table and written to the userid column of the threads table, right? Just like 'field9'?
Why the quotes in one case, but not in the other?
Bill
P.S. -- Thanks for being gentle.