I want to modify FluxCP itemiew, increase a item description table.
I am already make a MySQL DB. Table name is 'item_db_desp' .

Garbled because it is the Chinese utf8 format.
Only 2 cols. 'id' and 'desp'.
ID: ItemID
Desp: After finishing my items text description.
After that, I were to modify the 'trunkmodulesitemview.php' and 'trunkthemesdefaultitemview.php'
trunkmodulesitemview.php
$isCustom = null; // Item Description $sql = "SELECT $col FROM {$server->charMapDatabase}.item_db_desp WHERE"; $col = 'items.id AS item_desp_id,'; $col .= 'desp, origin_table,'; $col .= "$itemsTable.desp AS item_desp_id, item_desp";if ($item) {
trunkthemesdefaultitemview.php
<tr> <th>Item Description</th> <td><?php echo htmlspecialchars($item->item_desp) ?></td> </tr> <tr> <th>Item Script</th>
I know for sure is wrong, so would like to ask how should it be able to read it.
Thank you very much.
I am already make a MySQL DB. Table name is 'item_db_desp' .

Garbled because it is the Chinese utf8 format.
Only 2 cols. 'id' and 'desp'.
ID: ItemID
Desp: After finishing my items text description.
After that, I were to modify the 'trunkmodulesitemview.php' and 'trunkthemesdefaultitemview.php'
trunkmodulesitemview.php
$isCustom = null; // Item Description $sql = "SELECT $col FROM {$server->charMapDatabase}.item_db_desp WHERE"; $col = 'items.id AS item_desp_id,'; $col .= 'desp, origin_table,'; $col .= "$itemsTable.desp AS item_desp_id, item_desp";if ($item) {
trunkthemesdefaultitemview.php
<tr> <th>Item Description</th> <td><?php echo htmlspecialchars($item->item_desp) ?></td> </tr> <tr> <th>Item Script</th>
I know for sure is wrong, so would like to ask how should it be able to read it.
Thank you very much.