| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Comments:
<0> tidy php code.. yeah it's called [your favourite text editor] <0> aka yourself. <1> i use notepad..... <0> then use notepad. <1> for autoit script i have a program written in autoit script that does it <0> notepad will tidy php code. <1> I have written an indenter i hit enter it does down home tab <1> but still want a proper thing <1> with really long programs keeping them neat is made a lot easier with a program......... <2> Adam1213, just write your code properly and you won't need any program to make anything <1> I am currently given code and i don't like it if ($a==12) <1> { <1> echo 'a'; <1> } <3> If you wanto call a procedure that is stored in a mysql server do you need to do anything speciel differing from calling a normal select? <1> instead of briging the first bracket up a line which i pefer
<4> Adam1213, use vim instead of notepad <5> yeah im with your Adam1213, i always put the brackets next to if/else/while/for and put the black underneath for cl***/function <5> you* <1> what is vim <4> Adam1213, HTML-Tidy works ok, but doesn't have good PHP support and might fubar your PHP code if you're not careful <4> Adam1213, vim is something you probably can't handle :P <1> why do you say that? <5> vim is a pretty extensive editor <5> lots of features, harder to begin with <4> Adam1213, http://www.vim.org/ download the Windows version of gVim, try it out... see if it's too much <5> hell i know i cant use it <5> i prefer nano :) <3> the most important command in vim is :q! <4> maskd, hahah... you *know* you cannot? lol... and have you ever given it a try for more than two days? <6> www.php-editors.com <5> r0xoR: nah cuz i find things that are easier that do what i want <4> mmm... easier, faster... it's almost always a tradeoff between the two <1> I can program in C (for PICs), Batch, Autoit script , java, javascript, html, PHP, Microworlds , visual basic, RIS (GUI+text) and in /notepad/ so i can handle anything <4> Adam1213, personally i enjoy HTML-Kit as far as text editors on windows <6> You can program in HTML? <7> I have a problem running in the same program 2 query to mysql and ibm db2 more info at http://pastebin.ca/55398 <6> bwah hah hah\ <4> Adam1213, but other people like TextPad, Programmers Notepad, JEdit and SCiTE <1> yeah to a point <1> SCiTE does autoit script so i already have it <1> just rarely use it <8> can you have a file of method definitions then include them in a cl*** somehow? <9> quite a few of those text editors are built on Scintilla also <4> heheh, yeah cuz it sux :P <1> Scintilla? <9> ya <4> Adam1213, Scintilla = the base code for SCiTE (and other editors too) <9> SCiTE is built on the Scintiall core <10> Do anyone know about XTemplate. <9> so is Programmers Notepad?? I think? maybe I'm wrong <9> I know Notepad++ is <4> still... (emacs || vim) > * <9> r0xoR: understood <4> Adam1213, no there's no PHP-Tidy... or ASP-Tidy for that matter... and for that matter i might write them :) but it's gonna take me a while <4> heheh <1> i have an autoit script tidy writeen in autoit script ... I guess i will have to change its code <8> seriously, no one knows if there is or is not a way to define methods outside of a cl*** via file includes or otherwise? <4> lotus_anima, php 4 or 5? <1> not a good solutoin but global <1> possibly <8> r0xoR: 5 <11> lotus_anima: not like javascript's prototyping but you could emulate it with __call() <4> i thought methods *were* defined outside of cl*** definitions... <11> absolutely not <4> i guess that's C++ <4> heheh, i use way to many languages at the same time lol <8> but there's no basic way of defining methods outside a cl*** definition? that seems sort of insane... shoots modularity down. <11> lotus_anima: you can always extend the cl*** to add methods <8> it's already extended... there is Server, ServerLinux, ServerLinuxCpanel <4> lotus_anima, yeah what about inheritance... just make inherited cl***es and give each more specific cl*** a more specific method <8> each cl*** has to have certain methods, but they could get very lengthy and large in number <8> so i'd like to have a file where it has a main method and any helping methods in it <8> then just include it into the cl*** <4> lotus_anima, heheh i like your names... especially how your names really help you understand what's going on :P... cuz of course, we all automagically know the difference between Server and ServerLinuxCpanel right? of course!</sarcasm> <8> a Server can be of ServerWindows or ServerLinux <8> and beyond that, they can have differing control panel software (cPanel, Ensim, Plesk)
<3> If you wanto call a procedure that is stored in a mysql server do you need to do anything speciel differing from calling a normal select? <1> servermac? <8> sure, but we don't have any of those <8> though it would inherit from server and all would be well <4> outlaw84, you need mysql 5 for stored procedures (FYI) <8> but the point is... ServerLinuxCpanel can't be stored all in one file... just isn't practical <4> outlaw84, google: php mysql stored procedures <11> lotus_anima: that's generally where you make that cl*** extend another, unfortunately there's no multiple inheritance in php <1> http://www.google.com/search?hl=en&q=php+mysql+stored+procedures&meta= <1> hi vouti <8> it wouldn't make sense for it to need to be extended again, cPanel has a certain set of stuff and that's it. it's just **** that you can't modify a cl*** after it's been created, i suppose. <3> r0xoR: I got mysql 5 <1> maybe there is an update for cPanel <8> Adam1213: if you were talking to me, then i throw my arms up in a fit and go out for a smoke <8> lol <1> well there just may be <8> cPanel has nothing to do with this <8> it could just as easily be ServerLinuxFart <10> I am dissatisfied with this channel. Is this a useful resource when I am sitting here for hours and no one could reply to my problem. I don't know why is this so. <8> regardless, i still can't have airyFart() and loudFart() in different files <8> lol <1> i don't even know what cPanel is other than the fact that it is php+ mySql related <12> Trimor: feel free to leave, or repeat your question <8> you don't need to know what it is, this is a question of objects, not cPanel. <13> Trimor: Meltir is right... Noone is forcing you to stay here. <4> Trimor, i am dissatisfied with the government... but do you think they care? <10> <12>Ok here is my question, I need to know about some learning resource for the templating engine that is XTemplate. <1> #zend ? <4> !google xtemplate <14> Trimor: From where do you get your sense of entitlement to prompt, free ***istance from an IRC channel? <13> um... Google? <0> hahaha <15> anyone know a good email list sending program ? <0> "I think you'll find that they were made equivalent in the MySpace English Stupification Act of 2006. It's a common misconception that they are still two different concepts." <14> Trimor: You can be as dissatisfied as you want, but please, keep it to yourself <4> neatnik, oh, Trimor's just a sped... no worries :) <16> if i have an array with 20 indices, how would i remove #13? <14> r0xoR: I'm dissatisfied with this channel; it didn't rub my feet like I asked it to. :P <17> how could i "time-limit" a random number? i want to generate a random number but i don't want it to change every time, just maybe once every 15 minutes or so. any ideas? <4> heheh <1> unsset($array[13]); <13> that's wrong <1> bah <13> :) <1> unset($array[13]) <18> no <13> missing ; there <4> Trimor, there are *lots* of times when i ask questions in a channel and no one answers me despite that there are many people talking <14> elvendrake: if you want to remove it and wind up with 19 indices in the end, check array_slice, array_pop, array_shift, or one of those <1> however 14 could be 13 <13> oh, I'm Soooooooo evil <18> what if the indices are text and numbers? <4> !smart questions <18> now your code doesn't work <14> sleek: then you'll need to know what it is to unset() it <1> i have used unset <13> !+smart-q <19> Read http://www.catb.org/~esr/faqs/smart-questions.html before asking another question, that is, if you want a smart answer. <16> yea i need to remove a specific key & value and then add a new one to the end of the array <1> and it works in arrays to remove indexes <4> !tell Trimor about smart questions <18> neatnik: uh, no crap ... i'm explaining why the above code was wrong <0> Stormchaser: the two words that were made equiv by the 'act' are 'come on' and 'common' btw :P <14> sleek: ah, sorry, was on autopilot answering there :P <18> :)
Return to
#php or Go to some related
logs:
#math Global symbol requires explicit package name nagios perl #php free fqdn gentoo coldplug and udev conflict cdrecord-ProDVD license update #ldap iostream over 2gb file #php #linux
|
|