WebBasic CMS


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 :

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

Example :

if ($Item==null) {
  echo "Error";
} else {