[Return]

Report a post

Preview
for some one trying to understand the table for kokonotsuba.
here is a hopeful self explanatory code. the right is the data from the database but as a table with keys matching what it would be in the database.


$this->postID = $data['no'] ?? null;
$this->threadID = $data['resto'] ?? null;
$this->category = $data['category'] ?? null;

$this->lastBumpTime = $data['root'] ?? null; // so it seems
$this->utime = $data['time'] ?? null; //unix time stamp
$this->time = $data['now'] ?? null; //time stamp but as string

$this->md5chksum = $data['md5chksum'] ?? null; //file md5 hash
$this->fileName = $data['fname'] ?? null;
$this->fileExtension = $data['ext'] ?? null;
$this->imgw = $data['imgw'] ?? null;// width
$this->imgh = $data['imgh'] ?? null;// hight
$this->imgsize = $data['imgsize'] ?? null;
$this->tw = $data['tw'] ?? null;// thumbnail witdh
$this->th = $data['th'] ?? null;// thumbnail hight
$this->fileNameOnDisk = $data['tim'] ?? null;// its utime plus miliseconds at the end. i only found to use with filenames

$this->password = $data['pwd'] ?? null;
$this->name = $data['name'] ?? null;
$this->email = $data['email'] ?? null;
$this->subject = $data['sub'] ?? null;
$this->comment = $data['com'] ?? null;
$this->host = $data['host'] ?? null;
$this->status = $data['status'] ?? null;
Post number No.66402
Board Site Discussion@Heyuri
Optional. Describe what's wrong with it.