user warning: Table './zuggsoftdb/accesslog' is marked as crashed and should be repaired query: INSERT INTO accesslog (title, path, url, hostname, uid, sid, timer, timestamp) values('', 'node/346', '', '38.107.179.243', 0, 'p9hsf3bgjdo5ftg4qbk7n6hpq6', 24037, 1337598134) in /home/tessh/public_html/modules/statistics/statistics.module on line 64.

Documentation

expanddb

Syntax: %expanddb(dbvar,delim,valuedelim)

Reformats the given database variable and puts the delim string between each key/value pair. The optional valuedelim is used to put a string between each key name and value (default is = if omitted).

Example:

Char.Name = Zugg
Char.Class = Warrior
Char.Level = 27
#SHOW %expanddb(@Char,",")
displays "Name=Zugg,Class=Warrior,Level=27"

#SHOW %expanddb(@Char,%crlf,": ")
displays:
Name: Zugg
Class: Warrior
Level: 27

Add comment

Login or register to post comments