@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18



Comments:

<0> could anyone please help me with the following:
<0> I want to create something like: javascriptfunction(argument, "blah\nblah");
<0> using an echo statement
<1> looksaus: just make sure that you are escaping it propperly..
<0> mboman, it's something with double escaping
<1> or just go out of PHP for that particular string..
<0> mboman, this is in a loop
<1> yes, and?
<1> you can go in and drop out of php anytime you want...
<2> mboman: heh, *shrug*, doesn't take too much resources :))
<0> domas, exactly what I was thinking
<0> I'll paste the line here
<0> echo "var marker = createMarker(point, '" . $row['voor'] . $row['kennis'] . $row['straat'] . $row['postcode'] . $row['gemeente'] . $row['voorraad'] . "in voorraad\" ');\n";
<1> looksaus: just escape it then
<0> sorry, I've been plain stupid



<0> just wanted a <br> in the html output
<0> of this function
<0> don't know what crack I was on
<1> some bad **** apparently ;-)
<1> good **** makes you code better ;-)
<0> heh
<3> yup
<3> freebasing helps
<3> for that extra edge
<0> :)
<4> hi, i was wondering if someone could help me get a .php file extension to be recognised as an rss feed by a browser.
<4> user header(); perhapse?
<5> i'm trying to do a small xml parser and i have a problem with a regexp: /<yweather:\S*(?:\s([^=]*)="([^=]*)")*\/>/. it only catches the last attribute. any ideas why?
<6> GrayShade: Hum... Why don't you use PHP's XML parser?
<5> it seems to me rather overkill and i'm trying to learn regexps :))
<6> GrayShade: Um... Which PHP?
<5> 5, preg_match
<7> GrayShade; Why are you using regex, instead of the XML parser?
<6> GrayShade: Check out simplexml
<7> options*
<8> Hello, is there someone here that is good at javascript?
<6> #javascript
<8> join #javascript
<8> thx Storm
<5> thanks
<6> holy... Flaming got K-lined?!?
<9> Stormchaser: He probably did the DCC SEND thing or the logger command.
<9> Lots of people got k-lined today
<6> kuja: I'd probably never expect something like that from FC
<10> maybe their aim was off
<9> Stormchaser: Hell, I even did it, but that was an accident. I did it on another network, but /wallchan affects all servers. Stupid X-Chat
<11> where would a command like ', theme_copyright(), '
<12> Stormchaser: you're right, that one didn't look intentional
<11> get its instructions
<12> Stormchaser: I'll pull the kline
<11> ????\
<6> lilo: Thanks
<13> yay!
<12> my bad, there have been too many of them
<6> adggg: You probably want #yourscript
<12> that one I just reread
<6> bad bad lilo :)
<11> stromchair: what do you mean #yourscript?
<12> Stormchaser: it was a long morning ;)
<11> could you be a little more helpful?
<9> lilo: I admit the curiosity is inevitable. I'm sure all of us has done it on another network already (the ones who know) :P
<6> adggg: You're asking a non-##php related question. So it should be asked in the place who wrote that script...
<9> We love Freenode too much to do it here though :P
<11> stormchair, that isn't php???
<11> forgive me if I'm breaking one of the 10 commandments here, but I think that it IS PHP
<13> adggg: that may be, but we support people to WRITE scripts, not to hack/install/use other scripts
<6> !+g10
<14> Guideline #10) We don't support xyz script. We help you *write* PHP, not download and install/hack/use pre-written scripts
<11> Oh holy Moses, I broke the 10th commandment!



<11> Guideline #10) We don't support xyz script. We help you *write* PHP, not download and install/hack/use pre-written scripts
<6> addyes, and have you written the script?
<6> er... adggg
<11> I broke rule 10
<15> There is about 2000 feet of cat5e cable on my floor
<15> IT'S EVERYHWERE!
<16> Dr_Fie: there's about 90 feet of cat5e cable on my floor.... rolled neatly and cable tied
<6> what the HECK are you doing with 2000 feet of cable?
<17> Stormchaser - you know *wink wink, nudge nudge*
<10> cant get enough, huh?
<16> i sell it to people, and this 90' was the last of my spool, and is already sold
<18> hi
<15> Stormchaser: I'm helping remodel a Staples store and they had a crap ton laying on the floor
<15> itrebal: It's like 42 bucks for 1000 ft of cat5e
<18> if I have functions like setClientID() getClientID() And I fetch only one user from DB and then use getClientID() in template but how I should do the same if I fetch more then one row from DB ? I hope anybody understands me :)
<15> This isn't a full 2000 though.. it's all in pieces.
<15> Most of them are like 30-50 feet
<16> Dr_Fie: where are you buying? where i'm looking its 40 for 500 ft
<15> http://www.newegg.com/Product/ProductList.asp?Submit=ENE&N=2000400132+1230513959+1230413966&Subcategory=132&description=network+cable&srchInDesc=&minPrice=&maxPrice=&ATTR1=&ATTR2=&ATTR3=&ATTR4=2000400132+1230513959&ATTR5=2000400132+1230413966&ATTR6=
<19> hello all
<16> ooh nice
<19> got a question: I'm using a foreach($friend as $key => $value) loop, where I echo everything in a table: name, fullname, email
<19> now I want dynamicly the row of a table being color and another one not, and so on
<19> how to do that?
<19> I have made a forloop, but when I place that one inside the foreach I got a problem :)
<19> and outside doesn't work as well, since it loops the for first then the foreach
<19> no idea how to fix this
<16> JD-Multi: in your foreach, do something like if($c){$color = 'ffffff'; $c = false;}else{$color = '000000'; $c = true;}
<19> itrebal: ? what is $c then?
<16> JD-Multi: set $c = true; before the foreach
<19> ooh
<16> it just alternates it
<19> yeah idd
<19> I try that thanks itrebal :D
<16> yup
<16> Dr_Fie: is it really just a roll, or does it come on a spool of some sort
<19> is there a way when you do foreach($friend as $key => $value) to sort it on a certain value and echo is that way?
<18> if I have functions like setClientID() getClientID() And I fetch only one user from DB and then use getClientID() in template but how I should do the same if I fetch more then one row from DB ? I hope anybody understands me :)
<19> LionRock: don't know anything about databases yet, I learn that next month :P
<20> if I do is_numeric, on a string which is something like '23123"324324', will it return false?
<20> and shouldn't '1' and "1" compared return true? =(
<19> well php is strange
<19> liek you can return how big a file is, and I got it so that it returns 0.6kb, but when I do if($size!=0) { do code }
<19> and it won't work because 0.6 is in php 0, even when I do !=0.0000000 it still says that 0.6 = 0
<19> even when saying it's a float
<6> eml: '1' === "1"
<20> Stormchaser, ok
<6> eml: Why don't you put some effort in it, and TRY it?
<9> Stormchaser: Why don't you give me a hundred dollars?!
<6> kuja: Why should I?
<9> Cause I'm cool? :D
<20> Stormchaser, TRY what? I did change to !== and it worked, yes? thanks!
<15> itrebal: it comes in a box.
<15> That you can pull out and crap
<6> eml: *sigh*
<16> Dr_Fie: thanks
<6> kuja: You're a bitch
<20> Stormchaser, I really don't understand what you tried to say
<9> Stormchaser: I won't be if you give me money :)
<6> kuja: Of course you'd be... you'd want MORE money then
<9> Man, I just burned some of my leg hair playing with a lighter.
<9> That was ****ing awesome.
<20> kuja, move along to your eyebrows now
<20> anyways, was there a function that could turn $_POST['whatever'] into $whatever? I think someone talked about it
<21> extract()
<20> thanks
<21> np
<20> is it safe to use?
<21> sure, you can check the manual to see what you can do to ensure that
<20> ok
<22> anyone else having issues loading this url for pnphpbb? http://www.pnphpbb.com/


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

+java 1.5 +rpm +sles10
unsupported-driver madwifi
#gaim
#physics
lyrc does not work + amarok
oxine ubuntu
#web
firefox xpath any_type attribute
enable multiverse etch
secural islam



Home  |  disclaimer  |  contact  |  submit quotes