No matter if Alex makes mistakes or not, these are still great tutorials.
@ShimonKupferman3 жыл бұрын
This particular video helped me very much in a life-saving project. Bless you!
@ahmedbashir92908 жыл бұрын
we really missing u bucky...!!!!
@h.p.lovecraft90799 жыл бұрын
This way is little better i think: foreach($xml->producer as $producer){ foreach($producer as $value){ echo $value.' '; } echo ' '; }
@JohnInKansasCIty9 жыл бұрын
just what I needed. good presentation. thanks!
@shourabhpayal11988 жыл бұрын
thank goodness for 2x :D
@RahilWazirAli12 жыл бұрын
thank you alex i was confused about this sign ->
@ATSPARIStransfers7 жыл бұрын
Thank you !! thanks you so so so much !!!!! You're awesome !
@johnmart0911 жыл бұрын
thank you again.
@TuanNguyen-pj9ep8 жыл бұрын
Thank you very much!
@autocadal7 жыл бұрын
you are just great. best wishies
@TheGuroguro128 жыл бұрын
Thank you.
@huw38516 жыл бұрын
Nice simple example to get you started - often the most difficult part. Of course mine didn't work first go but that appears to be an issue with my xml file - don't know why yet because it opens in a browser OK. But using a small simple xml file got me past that.
@horrorbreakdown11 жыл бұрын
Great tutorial!
@lordyrich13 жыл бұрын
@MrValles10 XML elements dont need a dollar sign unless you turn on into a varaible for a foreach loop . So in that case he wasnt being a noob at all.
@shaun_rambaran7 жыл бұрын
Thanks.
@Dalwanaage13 жыл бұрын
goot tut.
@cjvaans44847 жыл бұрын
Nice!
@VonSherman10 жыл бұрын
very helpful saved me a lot of time thanks mate :)
@swapnilsonsurkar21368 жыл бұрын
finally xml :0
@MrValles1013 жыл бұрын
@deimis321 No, that part he was doing is BASIC PHP. Evn YOU wouldn't make a mistake like that. You can NEVER access a variabel by typing a 'word' without using the $-symbol, except if you define it. And secondary, he makes a second mistake on that same thing, cheezes
@Японскиекроссворды-разгадывани10 жыл бұрын
спасибо! облазил интернет нигде не мог найти этот ебучий код! а тут оказалось как то все уж сильно просто даже)
@michellevacunawa209811 жыл бұрын
what if i want to display images? a big image and some thumbnails?
@RahilWazirAli12 жыл бұрын
wish there could be 100's of subcribe buttons so i can click all of them for your videos
@Arcthoor11 жыл бұрын
Why would you not want to use it? Seems organized and simple to me. What else would I use?
@lordyrich13 жыл бұрын
@MrValles10 Are you refering to the XML element 'age'?
@AlexGomes0911 жыл бұрын
+ reading xml seems a bit messy to me. Imagine there were too many deep structured xml data.
@xXxBladeStormxXx12 жыл бұрын
Kinda reminds me of objects and classes in C++
@TechLearningstudio11 жыл бұрын
is there any way where we can dynamically update our XML file as per user input, Please reply?
@FFWDEntertainment13 жыл бұрын
What do you mean the root isn't important? What if I have multiple objects?
@thesickbeat12 жыл бұрын
@MrValles10 If you speak as much programming languages as me or Alex does you make these kind of mistakes from time to time. If you consider someone a noob if he makes a mistake I wonder what knowledge you're sharing for free and how perfect you are.
@workingTchr Жыл бұрын
For some reason the British just explain everything better.
@MrValles1013 жыл бұрын
BTW, to make things clear. I'm not saying that this tutorial is bad or something, I really done'! I just want to say that the part I am reffering to is really stupid. He could easily cut it out and rerecord it...
@LargeCube13 жыл бұрын
@LargeCube ahh I got it :) silly me
@Masteryxx12 жыл бұрын
Then those multiple objects would be enclosed by a root tag.
@xxiRaQiAtheistxx11 жыл бұрын
I wonder what does this means ''$this -->"
@LargeCube13 жыл бұрын
i have a problem.... $xml = simplexml_load_file('example.xml'); Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity "example.xml" in H:\xampp\htdocs\Mokymasis\Reading a Simple XML File.php on line 2
@ashrafshealthvlog73859 жыл бұрын
billy is 16 years old
@husainahmmed90259 жыл бұрын
+Ashraful Alam billy is 16 years old but not Bucky.
@xxiRaQiAtheistxx11 жыл бұрын
in your xml file don't add "&" character or any other characters.
@MrValles1013 жыл бұрын
@lordyrich I am
@RagHelen8 жыл бұрын
Another cloned SimpleXML tutorial. They always have the same superfiacial content and they always use the producer[1] bullshit as if someone would actually count the order of the elements in an XML-file. Of course, one would use an key-child, but from that moment on, SimpleXML gets buggy and unreliable, especially the @-structure I have spent much time getting SimpleXML running in a real environment. It turnes out to be unnecessarily unsimple. For instance, every child has to be transformed into a PHP variable before you can use it. It would be easier to make one central php-files with hundreds of variables :)
@rw77996 жыл бұрын
what do you do instead? load xml into a database? not enough real world examples. xml is a piss of piss,,,its how you use it in websites etc that is the hard part..