@# 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 19 20 21 22 23 24



Comments:

<0> Is there an accepted way to display the TM and SM trademark symbols in HTML?
<0> only &reg; works for the registered mark
<1> Remowylliams: #javascript
<2> I'm creating a script that reads info from a sql database and puts them in a table, but I don't want the table to be any larger than 2 cell's in width. How can I go about getting it to display all of the information in the table, splitting it up into <tr>'s after it does two results ?
<3> caffinated: been there no one actually is breathing.
<4> Hey all.
<1> Remowylliams: I don't care. this is not a javascript channel
<5>
<5>
<6> Remowylliams- I don't think Javascript has sleep, just setTimeout
<1> Dragnslcr: we do not support javascript here, so it doesn't matter
<4> caffinated : Hey, hey, it's relevant. No need to be sarcastic.
<1> persistance will be met with force.
<1> Martyn: i'm not being sarcastic. i'm serious.
<4> caffinated : What you're being is unhelpful, narrowminded, and speaking policy for everyone. I -do- help with other questions relating to other languages, as long as it's related to making something PHP related work.
<1> I have no time, or patience for people who can't figure out the rules, even after being warned.



<7> anybody can tell me why a variable icluded in a file with smarty doesnt get "resolved ?"
<8> not to mention he's an op, too ;)
<9> heh caffinated is the faster typer....
<5> caffinated: I'm just tired of babysitting and wiping their ***es
<1> coca: sorry, we do not support smarty here
<5> coca try #smarty iirc
<7> caffinated: why :) ?
<5> !+g8
<10> Guideline #8) SQL Q's: #sql, #mysql or #postgresql. Apache Q's: #apache. Linux Q's: Either #yourdistro, #linuxhelp or #linpeople. HTML/CSS/JavaScript Q's: #web. Just because some other channel is 'dead' does NOT mean you can ask here.
<8> coca: Because it's a 3rd party... Um.. Thingy
<5> !+g10
<10> Guideline #10) We don't support xyz script. We help you *write* PHP, not download and install/hack/use pre-written scripts
<7> heh
<1> coca: because we only deal with php language related issues in scripts that you wrote. smarty is not a core feature, nor is it something you wrote.
<3> Makes you wonder about all the Ajax hype I have to say
<6> Most people think Smarty is part of the language because they got a .php.net subdomain
<8> Remowylliams: #javascript, once again
<8> Dragnslcr: Same applies to PECL / PEAR
<8> ...the hell...?
<3> Stormchaser: than you gain.
<8> stoorm: do *NOT* pm me.
<3> eer again
<0> is there an html element that can be used to style just 2 letters of a string? (like the html font tags)
<8> Remowylliams: Present
<5> bnoji try #web
<0> I need to set vertical-align: super; for two characters
<6> Yeah, though you can at least argue that PECL is sort of useful
<3> Stormchaser: you're as helpful as always.
<5> !+pafy
<11> can any one help me in PM with my problem
<3> Stormchaser: let's not forget #Ajax
<10> [P***ive Agressive Fsck You] We aint buying your crap, so knock it off!
<8> o.O
<1> it's showtime in ##php, horay.
<3> LOL
<6> You have to actually ponder?
<8> There we go
<5> caffinated Sorta kinda like shooting ducks in a pond, but can be entertaining none the less.
<6> The private message "hi u hlp plz" tipped me off
<1> lig: I'm not flexing anything. we have rules. all people need to do is follow them. nothing difficult about that.
<5> lig: Not really, just the tolernce level for stupidity is low.
<12> caffinated, Jymmm : Understood - I get that way myself at times
<13> wow you guys are off-tha-hook (just read the past few minutes backlog, lol)
<1> lig: others get it hard and fast because I don't have time for the people who whine about the rules. it always winds up in a half hour debate that isn't going to change the rules anyway.
<14> What's the function to count the occurances of a character in a string?
<8> stoorm: you do that again, and you -- for some odd reason -- won't be welcomed here anymore. One last time: Do NOT PM random people!
<1> subsonic: substr_count
<14> caffinated: thanks
<1> no trouble.
<15> why can I use === to compare strings?
<8> o.O
<5> !+guidelines
<10> 1) Just ask. 2) Don't repeat. 3) /msg php-bot smart-q 4) msg the bot 5) Be polite and patient. 6) Do not paste here; /msg php-bot pastebin 7) No spam/bots/scripts/trolls/job postings or onjoin/away . 8) If it's not a PHP question, don't ask. 9) Don't PM without permission. 10) We don't support packages here. 11) ##php is a manual supplement. RTFM first! 12) Spelling matters. Use real English.
<15> Jymmm: ?
<5> !+strings
<10> [STRINGS] Please read http://php.net/types.string for a basic understanding of how strings work in PHP, as well as http://php.net/strings for functions to manipulate strings. Be sure to read 'user comments' as well.
<8> myc: can or can't?



<16> myc: why not use ==?
<13> well, looks like I failed guideline #2 ... i cant ask anymore :'(
<15> Godsey: because 2 == '2trees'
<13> myc: == is a test for equality ... it doesnt behave as you would expect with strings
<15> mkrufky: Sure it does.. it doesnt behave as I would like when comparing strings and ints.. which returns to my original question..
<15> why === does.
<13> oh! i thought that was a typo
<13> you're asking why that DOES work? most people want to know why something DOESNT work... thats why i misunderstood you
<16> myc fine: if (strcmp(2, "2trees", length("2trees")) {
<17> My site displays a warning, that i can't divide by zero, of course. can i delete that warning, without touching php.ini?
<16> or cast 2 to string
<18> Mosselmaniac fix the problem nor the error message
<18> nor=not
<17> it's a huuuuuuuuuge calculation. then i need to do all those equations... isn't there an easier way?
<16> myc: use if "2" == "2trees" for that
<5> Mosselmaniac validate your variables in advance
<18> its wrong if it divides by zero
<15> Godsey: Im aware.. i already said tat.. im asking WHY it works.
<16> it doesn't for me.
<16> 2 === "2" fails.
<17> jymmm that's so much work, :(
<15> Godsey: as it well should..
<5> Mosselmaniac then give up coding
<17> bah
<15> the int2 isnt the same as the string 2.
<17> i just want to disable a warning for 1 page. that's all.
<13> Mosselmaniac: if you dont do that, then you'll never know if your calculations are delivering the desired results correctly
<17> i don't need them to be correctly all the time lol
<13> ???
<17> never mind that ;) but is there a way to disbale the warning for that single page?
<19> Hi !
<17> what if it were not your calculator, and you are fet up with the calculations you have to do over and over again, and nobody looks at the result, well, they scan it. so they won't notice one single mistake in a huuuuge calculation. what then mkrufky?
<16> myc: I don't understand your question then.
<16> === returns true if both are equal and same type
<13> i guess eventually i would have to fire my calculator :-P
<17> or just accept some flawed values, there is no way though?
<15> Godsey: The docs say === is a boolean comparison, where do they say it can also compare strings (or datatypes other than bool)
<16> it's an operator
<16> it returns a bool
<13> Mosselmaniac: you can insert <!-- before and after --> your php output
<16> true/false
<16> not a boolian operator like & ^
<17> then it's a html comment? :S
<13> yup
<17> then i don't see the output? lol?
<20> hi, I've got a php cli program I'm trying to debug, its got a bunch of "$debugMsg[]" strings in it, but I dont know how to get debugging enabled so those will be spit out
<17> i echo my values.
<13> Mosselmaniac: FYI, im just average joe user.... im in here asking a question of my own, i try to help others while im here... if you dont like my answer, dont give up... others are here that know more than I
<13> (sorry)
<5> http://us2.php.net/manual/en/language.operators.comparison.php
<17> well, to be honest it's very crappy to do it this way, so i'll fix the source of the problem.
<13> good... that is the right thing to do
<15> Jymmm: that page doesnt say why === can be used to compare non bools
<15> ah// it does :P
<15> thx
<16> why do you think it should be bool only?
<6> It doesn't mean it can only compare booleans
<5> myc: Continue acting stupid
<15> because thats where it is used in 90% of the questiosn.
<6> It means the operator returns a boolean value
<15> Jymmm: better than being stupid.
<16> http://www.php.net/manual/en/types.comparisons.php
<16> did you read that?
<5> !+g16
<10> You can be /kickban from ##php for being stupid
<16> and you can also do this if you want:
<15> Godsey: i get it dude.
<15> no more.
<16> if ( (int) 2 === (int) "2" ))
<15> im not typecasting in php
<16> then why are you using === in the first place?
<21> what i need to can save my users score points from the Game`s they Play ?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

liquid weather stuck loading
#ubuntu
vista wg311v3
#gaim
load deamon xscreensaver
#lisp
strtr php 5.1.2
mkinitrd +fc6 +usb
qtparted busy
xserver reconfiger



Home  |  disclaimer  |  contact  |  submit quotes