Hi all,
In admin panel,
I have A textbox where i put a data like
But in User section the data is shows in this wayCode:We need to do a different page ordina , similar to the published one. Image + Flash text same as BODYSLIM page. Translate: “1 Confezione con 30 Cerotti” with “60 Capsule = 30 Giorni di Trattamento per perdere fino a 5 Kg - Euro 49 + 6€ spese di spedizione contrassegno Translate :” Offerta 3x2: 3 Confezioni (90 giorni di trattamento) ad Euro 98 + 6€ spese di spedizione” With: “Offerta 3x2: 3 Confezioni 90 giorni di trattamento per perdere fino a 15 Kg ad Euro 98 + 6€ spese di spedizione All the rest will be the same. Obviously on DATABASE we should be able to choose which product/orders to see/print (i.e. 1…print all CEROTTO Orders or PRINT ALL BODYSLIM ORDERS)
In that page My PHP code isCode:We need to do a different page ordina similar to the published one Image Flash text same as BODYSLIM page Translate Confezione con Cerotti with Capsule Giorni di Trattamento per perdere fino a Kg Euro € spese di spedizione contrassegno Translate Offerta x Confezioni giorni di trattamento ad Euro € spese di spedizione With Offerta x Confezioni giorni di trattamento per perdere fino a Kg ad Euro € spese di spedizione All the rest will be the same Obviously on DATABASE we should be able to choose which product orders to see print i e print all CEROTTO Orders or PRINT ALL BODYSLIM ORDERS
Where has gone new line when i use str_word_countCode:$sql="select * from tbl_article where aid=".$_REQUEST['id']; $query=$db->select_data($sql); $result=$db->get_row($query); $content=$result['acontent']; $str=str_word_count($content,1); $total_count=count($str); $strin=""; $k=(empty($_REQUEST['lax'])) ? '0' : $_REQUEST['lax']; $limit=$k+400; $limitup=$limit+1; for($i=$k;$i<=$limit;$i++) { $strin=$strin." ".$str[$i]; } $smarty->assign("article",$strin);
Is there any way to fix this issue?








Bookmarks