Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
XHiddenProjects committed Apr 7, 2023
1 parent 671c638 commit 7cee0db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ First you have to load up the lib, by writting this:
<?php
require_once('{basepath}/ssql.lib.php');
$ssql = new SSQL();
$ssql->style(); //loads stylesheet(place in head tag)
$ssql->style($darkmode=true); //loads stylesheet(place in head tag)
?>
```

Expand Down Expand Up @@ -102,13 +102,13 @@ $db->selectData(string $tbname, array $sel, string $condition=''); //returns arr
### deleting data
To delete an data use:
```php
$db->dropData(string $tbname, string $condition); //returns boolean
$db->dropData(string $tbname, string $condition=''); //returns boolean
```

### updating data
To update a data use:
```php
$db->updateData(string $tbname, string $replacement, string $condition); //returns boolean
$db->updateData(string $tbname, string $replacement, string $condition=''); //returns boolean
```
***

Expand Down

0 comments on commit 7cee0db

Please sign in to comment.