:: Forums :: Discussions :: EasyShop - ideas |
|
<< Previous thread | Next thread >> |
Too many db calls |
Moderators: nlstart
|
This thread is now closed |
Author | Post | ||
joginvik | | ||
Registered Member #1680 Joined: Location: Ternopil Posts: 9 | FOF EXAMPLE WHY you extract all item description $item_description = strip_tags($tp->toHTML($row["item_description"], true)); when we can extract only some item_my = substr($item_description, 0, 80); Can you write it in one row? $item_description = strip_tags($tp->toHTML($row["item_description"], true)); $item_my = substr($item_description, 0, 80); mayby $item_description = substr(strip_tags($tp->toHTML($row["item_description"], true))),0,80); | ||
Back to top | | ||
Jump: Back to top |
Powered by e107 Forum System