Follow along with the video below to see how to install our site as a web app on your home screen.
Примечание: This feature may not be available in some browsers.
Вопрос на засыпку...
Я сделал 4 колонки
А как сделать чтобы много строк было ?
пример;
@ @ @ @
@ @ @ @
@ @ @ @
//special offers
$result = array();
$q = db_query("SELECT productID FROM ".SPECIAL_OFFERS_TABLE." order by sort_order") or die (db_error());
while ($row = db_fetch_row($q))
order by sort_order
DESC LIMIT 0,13
/special offers
$result = array();
$q = db_query("SELECT productID FROM ".SPECIAL_OFFERS_TABLE." order by sort_order DESC LIMIT 0,13") or die (db_error());
зайди в includes/home.php и добавь кв частьPHP://special offers $result = array(); $q = db_query("SELECT productID FROM ".SPECIAL_OFFERS_TABLE." order by sort_order") or die (db_error()); while ($row = db_fetch_row($q))
вот этоPHP:order by sort_order
получится вот такPHP:DESC LIMIT 0,13
и будет тебе 12 штукPHP:/special offers $result = array(); $q = db_query("SELECT productID FROM ".SPECIAL_OFFERS_TABLE." order by sort_order DESC LIMIT 0,13") or die (db_error());
зайди в includes/home.php и добавь кв частьPHP://special offers $result = array(); $q = db_query("SELECT productID FROM ".SPECIAL_OFFERS_TABLE." order by sort_order") or die (db_error()); while ($row = db_fetch_row($q))
вот этоPHP:order by sort_order
получится вот такPHP:DESC LIMIT 0,13
и будет тебе 12 штукPHP:/special offers $result = array(); $q = db_query("SELECT productID FROM ".SPECIAL_OFFERS_TABLE." order by sort_order DESC LIMIT 0,13") or die (db_error());
$q = db_query("SELECT productID FROM ".SPECIAL_OFFERS_TABLE." order by rand() limit 0,4") or die (db_error());