@# 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



Comments:

<kaneda_> s/statemenut/statement
<dravine> wanted to see if the $user_id was not 11 or 33
<kaneda_> And he wanted to display a message to the user if it wasn't 33 or 11.
<kaneda_> So, if 33 logged in, no message. If 11 logged in, no mesasge
<kaneda_> if 12 logged in, message.
<kaneda_> Correct?
<dravine> no
<dravine> well yeah
<dravine> if anyone other than 11 and 33 logged in say "oi vey"
<dravine> or some ****
<kaneda_> RIght. But with the statement the way he had it, 11 and 33 both get the message.
<dravine> no
<kaneda_> WHat do you mean no?
<dravine> !=
<kaneda_> Okay, go through it.
<kaneda_> My userid is 33.
<dravine> if($user_id != 33
<kaneda_> fals
<kaneda_> e
<dravine> no
<kaneda_> what?
<dravine> $user_id!= 33 would return true if $user_id was 33
<dravine> er
<dravine> bah
<dravine> rather it would return true with anything but 33
<kaneda_> Right.
<kaneda_> So $userid != 33 == false
<kaneda_> ***uming $userid is 33
<p`u> dope
<dravine> yeah
<kaneda_> So, first side is false.
<dravine> yeah
<kaneda_> Then, $userid != 11.
<kaneda_> If $userid is 33 then this is true.
<kaneda_> and false || true equates to true.
<kaneda_> so the message is fired.
<p`u> phat
<dravine> if $user_id is 33, then the first side is true
<kaneda_> Right, but the second is false.
<dravine> it's not like it can change between the two conditions
<dravine> yeah
<dravine> the second is false
<dravine> but only one of them needs to be true for it to return the message "oi"
<kaneda_> ...exactly.
<kaneda_> So if userid 33 logs in, he gets the message.
<Hajuu> I came to be looking at a collection of random erowid material.
<Hajuu> ....
<dravine> erowid?
<Hajuu> www.erowid.org
<Hajuu> MARVELOUS site
<Hajuu> wonderful
<dravine> right on
<Hajuu> urgh
<dravine> http://www.homelandsecurityus.com/site/modules/news/
<Hajuu> I have to work tommorow
<dravine> these jeans crowd my junk
<Hajuu> haha
<Hajuu> Your a tran***ual.
<Hajuu> a tran***ual hooker.
<dravine> at least I
<dravine> am not canadian
<Hajuu> but thats ok cause im developing a nice pot belly
<Hajuu> so we'll call it even
<kaneda_> I wear loose, junk-respecting slacks/khakis/jeans
<Hajuu> yeah man gotta respect your junk
<dravine> well
<dravine> the thing is, women like to look at a mans ***
<kaneda_> totally. If you don't respect your junk, it won't respect you. And then your junk covers you in spunk.
<dravine> and baggy jeans, don't respect the ***
<kaneda_> Well, I mean, when the *** needs to be displayed, that's different.
<Hajuu> **** maybe I can get away with calling in sick tommorow
<Hajuu> cause my knee is all ****ed up
<p`u> cool, hajuu
<kaneda_> But, say, my coworkers don't need to see my ***.
<NeB{wRk}> hajuu .. maybe you should get some pain meds from your doc
<kaneda_> Whether or not they want to is their business.
<NeB{wRk}> :P
<Hajuu> :P
<kaneda_> NeB: nice.
<Hajuu> "Didnt I just GIVE you some meds?" "dude yes.. but this time I actually need them"
<Hajuu> thatd go down well
<Hajuu> besides
<Hajuu> sounds demented
<Hajuu> but I kinda want the tendon to snap
<Hajuu> cause then they will do the surgery
<Hajuu> and fix the ****er
<Hajuu> so I can actually run and ****
<Hajuu> ****ing democrat bastards
<Hajuu> now what to watch as I fall asleep..
<Hajuu> feris beulers day off
<Hajuu> lol
<Hajuu> Night all
<kaneda_> Night Haj
<rdw> dravine: might not want to the put .ro ban in X. one of our ops is on an ro ip
<p`u> rdw: awesome
<rdw> p`u: ?
<rdw> haha, sup freckles
<pieg> hey man, did you miss me ?:D
<rdw> of course
<rdw> you plucky .pl
<pieg> you bastard us
<dravine> rdw, I put it back
<dravine> it was in there yesterday
<rdw> an x .ro ban is different than an Op .ro ban ;)
<rdw> x sees through undernet mask
<dravine> well, I removed the x .ro ban yesterday
<pieg> .ro ban, nice nice
<pieg> JC^Omega: you there ?
<dravine> hell no he's not here
<rdw> *nod* you can leave it if you want. i'm just giving a heads up
<dravine> there's cattle to be tipped
<kaneda_> THat's like the ****tiest line of sungl***es ever! .robans: for when your eyes really need to ****.
<dravine> rdw, I'll remove for now
<Toka> hello
<Toka> I would like to display an image through a php script
<Toka> could you help me?
<pieg> www.php.net/gd2
<Toka> I do not want to draw it, I have an existing images and I want to p*** an ID code .php?id=5 and insert this line as <IMG SRC="
<rdw> lol
<pieg> then ude $_GET[] and echo, thats all the help
<rdw> <img src="image_script.php?id=5" />
<Toka> doesn't it need some header?
<rdw> then look up header() to see how to output image headers
<Toka> that it is an image
<p`u> phat!
<Toka> ok
<Toka> thanks
<pieg> Toka: do you set the header using <img ?
<Toka> no
<pieg> cause i dont
<Toka> in php
<pieg> that why asking stupid qs ?
<pieg> -t+n
<pieg> -a+e :P
<Angelina_> how do i tell mysql using php to move to the next record?
<Toka> why not using fetch?
<Toka> 10Angelina_01:
<rdw> Angelina_: www.php.net/mysql
<rdw> Toka: don't use colors
<Toka> sorry
<Angelina_> i do a loop and i want to tell him that if he found that sp=1 then write the next record
<Toka> I think it will be easier to $fans = mysql_fetch_array($answer);
<Toka> while...
<kaneda_> Greets, papabear
<kaneda_> I feel like ****ing Goldilocks when I say that. And I'm a dude. That's...oddly comforting?
<Toka> Angelina_:
<Toka> while ($row = mysql_fetch_array($result, $link)) {


Name:

Comments:

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






Return to #php
or
Go to some related logs:

repair HD
kororooa
#teens
allohello
taryble
#linuxhelp
#MissKitten
#php
#chatzone
#chatzone



Home  |  disclaimer  |  contact  |  submit quotes