#php
30 October 2007
Total 53 pages. You are browsing page 1/53.
First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last
--- Log opened Tue Oct 30 00:00:27 2007
--- Day changed Tue Oct 30 2007
00:00 <****> caused me a lot of grief.. but now i know..
00:02 <****> Solifugus: You'd knew otherwise if you'd read php.net/string
00:02 <****> garrett__: whats wrong with this http://www.nomorepasting.com/getpaste.php?pasteid=5784
00:03 <****> Wolfy[drawing]: I'd know everything if I had read everything, in fact.
00:03 <****> but i wouldn't have got much done, in the mean time.
00:04 <****> Solifugus: If you'd read everything, you wouldn't know everything
00:06 <****> Wolfy[drawing]: right.. cause then I'd be God.
00:07 <****> Solifugus, whya re you wasting your and our time.
00:07 <****> gentoodude: a lot?
00:07 * gentoodude cries
00:07 <****> i just want it to work damn it
00:07 <****> gentoodude: hold on
00:07 <****> gentoodude, what a coincidence, like any programmer out there.
00:07 <****> Solifugus: God? You shouldn't think so "highly" of yourself.
00:08 <****> gentoodude: are you trying to use the printf() example i showed youo?
00:08 <****> garrett__, it's good that people like you are teaching *SP programmers the correct way to program under php.
00:08 <****> Wolfy[drawing], but God is in our hearts, in the breeze, in the smile of a child, in the song of a bird.
00:08 <****> gentoodude: because you're not actually making a call to printf()
00:08 <****> JohnGalt`: thanks, i guess.
00:08 <****> garrett__: why can we just make that checkbox work
00:08 <****>:(
00:09 <****> gentoodude, stop with this "it just should work" mentality coming here day after day with 10% done code demanding we do it for you
00:09 <****> gentoodude, try to put some thought into what you're doing
00:09 <****> gentoodude: read the printf() documentation
00:09 <****> gentoodude: there are plenty of examples.
00:10 <****> gentoodude: you're trying to use the syntax, but since it's not in a printf() statement, the %d does nothing
00:10 <****> guid3r: Really? Where is the "God" when you want it to listen to you? I think that the whole religion is a joke.
00:10 <****> blah blah <input type="checkbox" name="%d" id="%d".........", $row['id']);
00:10 <****> Wolfy[drawing], but... he.. is in a smile of a child dude? in a song of a bird...?
00:10 * guid3r cries
00:10 <****> gentoodude: go back to using emerge :p
00:11 <****> jsoftw: I'm not sure he knows how.
00:11 <****> AlReece45: im sure he knows all about -O flags and what not.
00:11 <****> guid3r: No, that's a child smiling and bird singing.
00:11 <****> Wolfy[drawing], I don't know about religion, but if I could be God, I'd like to.
00:12 <****> guid3r: I could never understood, why would anyone wanted to be a "God"
00:12 <****> gentoodude: and that won't parse, btw; just read the documentation and follow the form
00:12 <****> Wolfy[drawing]: maybe someone was lonely.
00:12 <****> AlReece45: XD
00:13 <****> Wolfy[drawing], same reason people want to be op on IRC
00:13 <****> Wolfy[drawing]: I am very humble--that's one of my qualities like being intelligent, handsome, and strong.
00:13 <****> Wolfy[drawing], it's the chicks.
00:14 <****> Wolfy[drawing], I know it makes no sense, but deep down, it's always about the chicks.
00:14 <****> guid3r: hahahaha XD
00:14 <****> i have problem for use php and mysql it's just for compare two value in database if someone help me http://pastebin.com/m3f1cb856 ( the script 15 lines)
00:15 <****> Solifugus: "humble people" don't want to become God. Or Gods. Or whatever.
00:15 <****> fas3r: use mysql_real_escape_string instead of addslashes
00:16 <****> AlReece45: but it work on other page
00:16 <****> fas3r: so what's the problem exactly
00:16 <****> ?
00:17 <****> if i write good pass and good login it do'nt echo echo $data['login_connexi.... etc
00:17 <****> Wolfy[drawing]: well.. frankly, I don't think there's much chance of that happening.
00:17 <****> but if i write directly echo $data['login_connexi... and the second value it return the same value ..
00:17 <****> i think my prolem
00:18 <****> Solifugus: hehe :3
00:18 <****> i think my problem is in the if
00:18 <****> fas3r: use var_export on both variables to see what it outputs
00:18 <****> Solifugus, maybe you have no chance of becoming a God, but you can still become something comparable, like a dictator or leader of a religious cult.
00:19 <****> AlReece45, why's there preference of var_export over var_dump
00:20 <****> fas3r: I meant var_dump, still breaking an old habit
00:21 <****> but why it work with first value ?
00:21 <****> fas3r: Pastebin your code.
00:21 <****> var_export rocks though, as someone who's into code generation :P nothing is sexier than var_export
00:21 <****> fas3r: if that code doesn't work, php must be thinking they are the same
00:21 <****> never mind :|
00:22 <****> Wolfy[drawing]: http://pastebin.com/m3f1cb856
00:22 <****> guid3r: it screwed me over when I tried var_exporting a resource and it didn't output anything.
00:22 <****> AlReece45, ah yea
00:22 <****> AlReece45, well I mean for saving in a file and including later
00:22 <****> guid3r: yeah.. I'm actually working on an army of robots to take over--but my wife won't let me quite my job to work on it full time.
00:23 <****> Solifugus, Mantrid
00:23 <****> fas3r: Ew. That code is pretty crappy.
00:23 <****> Solifugus, he's a mad scientists who took over a universe with his army of robots
00:23 <****> one scientist, not scientists
00:24 <****> Solifugus, the key is to make the robots replicate themselves
00:24 <****> Solifugus, so they attack, collect material, replicate
00:24 <****> at exponential rate, you'll soon be God
00:24 <****> good luck!
00:24 <****> keep me updated
00:25 <****> Sure thing... coding them in command line php..
00:25 <****>setLink(array(gallery))"? thanks!
00:27 <****> fas3r: That can't work in any way. Do the mysql_num_rows and you'll see that I'm right. (the result should be always 0
00:28 <****> ok thank ;)
00:28 <****> myguest: If you quote that statement, I'm going to slap you right away if not sooner.
00:28 <****> fas3r: Think about it. You see what's wrong with the code?
00:28 <****> wolfy: pardon?
00:28 <****> no but i go to test with mysql_num_rows
00:29 <****> myguest: Wait. You're evaling the code? *slaps*
00:29 <****> but i don't understand why it doesn't work
00:29 <****> fas3r: Lemme give you a hint. $nom != login_connexion
00:30 <****> wolfy: yes, i'm trying to eval that code from db
00:30 <****> ... Another lost case.
00:30 <****> !+eval
00:30 <****> If eval() is the answer, you're almost certainly asking the wrong question. -- Rasmus Lerdorf, BDFL of PHP
00:30 <****> :-P
00:30 <****> so true
00:31 <****> sorry, my english is not so good... :) i think i don't understand...
00:31 <****> !seen lubuntu
Total 53 pages. You are browsing page 1/53.
First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last
