arman2123
-
Posts
3 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by arman2123
-
-
slice
in HTML/XHTML
Thanks Nakor.There are quite a bit of programs that will allow you to do this. I would recommend Adobe Image Ready CS2. -
slice
in HTML/XHTML
Hi I am making a site which ain't looking cool. So i planned to use some background images. how can i create sliced images for faster loading ?What do you use for this plz tell me.Bye
simplexml api problem
in PHP
Posted
HiSuppose i have an xml file portal.xml like this <?xml version="1.0" encoding="UTF-8" standalone="yes"?><portal><info><name>arman</name><job>boss</job></info><info><name>mamun</name><job>chela</job></info></portal>now i have another xml with the same structure named temp.xml<?xml version="1.0" encoding="UTF-8" standalone="yes"?><portal><info><name>php</name><job>scripting</job></info></portal>If i want to add this info node from temp.xml to portal.xml using simplexmlfunctions what should be the best/easiest method.Right now i read all the data , create all nodes , textnodes and then append them.This is very slow.Can i do anything similar to this ( conceptually similar )<?php $xml = simplexml_load_file ("portal.xml"); $tmp = simplexml_load_file ("temp.xml"); $portal1 = $xml->portal; $portal2 = $tmp->portal; $info = $portal2->info[0]; $portal1->appendChild($info); ?>please help if u can Thanx