Pentiums Posted January 31, 2008 Report Share Posted January 31, 2008 lieta tāda... taisu wap lapu portālam... datubāzē teksts ir savadīts ar <br> tagiem bet WAPam vajag vinus parverst uz <br /> .. ka to izdariit? te koda fragments include ("wml/datums.php"); echo '</small> </p> <p><strong>'.$data['page_title'].'</strong></p><p>'; if (checkgroup($data['page_access'])) { eval("?>".stripslashes($data['page_content'])."<?php "); echo '</p> <p align="center"> <a href="index.php">Uz sākumu</a><br /> viņš lapas saturu padod ar to $data['page_content'] paldies jau iepriekš :) Link to comment Share on other sites More sharing options...
andrisp Posted January 31, 2008 Report Share Posted January 31, 2008 php.net/str_replace Link to comment Share on other sites More sharing options...
Klez Posted January 31, 2008 Report Share Posted January 31, 2008 liec pa taisno db <br /> ... un esoshos repleiso ... Link to comment Share on other sites More sharing options...
Pentiums Posted January 31, 2008 Author Report Share Posted January 31, 2008 paldies andrisp... cepums par to! :) Link to comment Share on other sites More sharing options...
Recommended Posts