cipcaps Posted April 18, 2010 Report Share Posted April 18, 2010 (edited) Sveiki, pāris dienas meklēju, google un kaut ko ķimerējos, beigas neko tik un tā nedabūju gatavu. Man vajag divas lietas, tā lai viņas pielabot, jo no preg_replace nesaprotu neko.... 1. Vajag tā : Lai <zzz jebkas > un <ccc jebkas > PĀRIET uz jebkas 2. vajag tā : Lai <aaa out="nezinu"> un <aaa abc="asd" out="nezinu" bcs="hhhh"> pāriet uz nezinu 1-ajam tā ideja ir ka visi tagi kas ir iekš HTML taga tiek padoti kā vērtība. 2-ajam tā ideja ir tāda ka neskatoties uz citiem tagiem tiek padotā tikai vajadzīgā taga vērtīiba. Edited April 18, 2010 by cipcaps Quote Link to comment Share on other sites More sharing options...
daGrevis Posted April 18, 2010 Report Share Posted April 18, 2010 Ko? Quote Link to comment Share on other sites More sharing options...
cipcaps Posted April 18, 2010 Author Report Share Posted April 18, 2010 Ko? Ko Tu tieši nesaprati? Quote Link to comment Share on other sites More sharing options...
m8t Posted April 18, 2010 Report Share Posted April 18, 2010 Noskaties visu šo un viss tev būs skaidrs! :) http://net.tutsplus.com/tutorials/php/regular-expressions-for-dummies-screencast-series/ Quote Link to comment Share on other sites More sharing options...
marcis Posted April 18, 2010 Report Share Posted April 18, 2010 Lai arī praktiski neko nesapratu, man šķiet, ka regexp tev tur nav vajadzīgs. http://lv.php.net/simplexml http://lv.php.net/dom Quote Link to comment Share on other sites More sharing options...
cipcaps Posted April 18, 2010 Author Report Share Posted April 18, 2010 (edited) Paldies.! @ m8t Edited April 18, 2010 by cipcaps Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.