hello /prog/, I'm a bit of a beginner at PHP and I'm stuck at an issue that I'm not even sure i can explain, the thing is I got a XML file working as a "database" where i store info, this info is divided in sections, each section having two separate fields (lets call them fieldA and fieldB);
this then is shown in a php page in a form using option tags, using php code i made it show the 3 sections, now in a separate option tag i wanted it to specifically show all the fieldAs entries of the section that was selected in the first option tag.
>>10
Don't you think every /anus/rammer has written a Shiitchan replacement in some non-PHP or other?
We'll never use it. document.location.href is inexplicably our home.
Name:
Anonymous2012-11-21 13:34
>>10
Implying people give a fuck about the language your web app is written in.
>>14
There are parameter lists in perl5 but you're recommended against using them because they may not act how you intend for them to act. You don't need them because you can just use ``@_'' quite easily.
Nevertheless, perl is superior to Pretty Horrible Programming.
There are also parameter lists in perl6, which act the way you think/want.
Flat file as a database is just the completely wrong way to do anything. Period.
Every language has ways to connect to databases(staying out of the "PHP is crap, web programming is crap" fuckery going down here), so learn how to achieve that before trying to do anything else.