Skip to content

Conversation

@unatarajan
Copy link
Contributor

Overview / Task

  • Bug
  • Feature

Description

  • Added specific instructions on how to use the PHP SDK to do a basic query and print the results, as well as how to get up-and-running with the PHP Admin Dashboard.
  • Found a bug in admin/common.php, logged in a separate PR. This bug was breaking the Dashboard UI.

Feature Validation / Bug Reproduction Steps

  1. From the website repo, npm run dev-docs-website.
  2. Load the localhost link in browser: http://localhost:4321/docs/sdk-php-introduction.
  3. Follow the instructions to load the Admin Dashboard and login to your account to administer node(s).

Screenshots & Videos

Screenshot 2024-07-30 at 3 48 00 PM


## Example
- Include the following snippet in a new `example.php` file.
- NOTE: `$sqlite->execute("USE DATABASE {$db_name}");` is only necessary if your connection string does NOT specify the name of the database to query.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the NOT can be lower case, there is no issue if the user still run it

@unatarajan unatarajan merged commit 49a5a8c into main Jul 31, 2024
@unatarajan unatarajan deleted the feat/php-updates branch July 31, 2024 15:49
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

Successfully merging this pull request may close these issues.

3 participants