WebBasic CMS
References

wbItemRead()

read item from table

wbItemRead(string $form , string $id )

The function is intended for reading a single record from the database. The result of the function is an array with the data read from the record. In case of failure, NULL will be returned.

Arguments :

$form
name of the form (table) that contains the data set
$id
unique item id

Example :

<?php
$Item=wbItemRead("pages","home");
if ($Item==null) {
  echo "Error";
} else {
  print_r($Item);
}
?>