Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hey, there is a critical error. #50

Open
awesome1128 opened this issue Feb 6, 2022 · 1 comment
Open

Hey, there is a critical error. #50

awesome1128 opened this issue Feb 6, 2022 · 1 comment

Comments

@awesome1128
Copy link

I tried to use this function because I have 2 tables and they're linked each other with columns.
But this functions are not working. Could you please guide me or fix this issue?
Here is my code snippet.
if ( isset($record->fields->Deals) ) {
$deals = $record->fields->Deals;
$cnt = count($record->fields->Deals);
for ( $i = 0; $i < $cnt; $i++ ) {
echo AIRTABLE_TABLE."/".$deals[$i];
$expended = $airtable->getContent( AIRTABLE_TABLE."/".$deals[$i], false, [
'Deal ID' => 'deals'
]);
print_r($expended);
}
}

image

@glaliberte
Copy link
Collaborator

Hi @awesome1128 , sorry for the late reply. I hope you're doing well. Were you able to solve the errors you were having?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants