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

README.md correction in create_folder #20

Open
whitneyscott opened this issue Jan 3, 2023 · 0 comments
Open

README.md correction in create_folder #20

whitneyscott opened this issue Jan 3, 2023 · 0 comments

Comments

@whitneyscott
Copy link
Contributor

The following lines in the README.md file don't work in my PHP code:

`<?php
// folder is created in the root folder.
SproutVideo\Folder.create_folder(array('name' => 'New Folder'));

// folder is created as a child of the folder specified by the id 'def456'
SproutVideo\Folder.create_folder(array(
'name' => 'New Folder',
'parent_id' => 'def456'
));
?>This does work:<?php
// folder is created in the root folder.
SproutVideo\Folder::create_folder(array('name' => 'New Folder'));

// folder is created as a child of the folder specified by the id 'def456'
SproutVideo\Folder::create_folder(array(
'name' => 'New Folder',
'parent_id' => 'def456'
));
?>`

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

1 participant