Posts: 18
Threads: 366
Joined: Jan 2006
08-08-2009, 05:40 AM
(This post was last modified: 08-08-2009, 05:42 AM by Kazuya.)
Spending at least four hours looking at
Original string
Code: echo "<p><a href=\"?act=delconf&id=\"" . $user->ID . "\">Yes</a> | <a href=\"?act=editrec&id=\"" . $user->ID . "\">No</a>"
and this is what the parsed looked like in the source code:
Code: <a href="?act=delconf&id="1">Yes</a> | <a href="?act=editrec&id="1">No</a><br />
trying to figure out what the hell I did wrong.
And then I was raging to vad about not being able to find out why my id was showing up in an echoed out regular string, but not in the url. and then, just staring at he source code again, I realized I cut my url off prematurely with the &id=\"" See the double quotes? The \ character will escape the first quote character, meaning it will show up as just " after its parsed, making my string look like how it did in the source code. After taking that out, it parsed correctly and took out that extra ".
It was supposed to look like this:
Code: echo "<a href=\"?act=delconf&id=" . $user->ID . "\">Yes</a> | <a href=\"?act=editrec&id=" . $user->ID . "\">No</a>";
So, it would output
<a href="?act=delconf&id=1">Yes</a> | <a href="?act=editrec&id=1">
the joys of coding.
Vad: Found my dicks btw
Vad: *DISCS
Kaz: XD!!!!XDXDXD!!
Kaz: oh man
Kaz: that was an awesome typo!
Vad: I MEANT ROUND CYLINDRICAL THINGS
Kaz: XD XD XD
Kaz: HAHAHHHAHHHAHA
Posts: 115
Threads: 680
Joined: May 2003
I respect anyone who codes. I mean, the fact that a program won't run because of the simple addition (or subtraction) of a semi-colon ... I did two courses of programming at university (if you exclude Javascript) and it drove me mad.
Hate: Coding.
Posts: 62
Threads: 260
Joined: Jan 2004
Aren't you a compsci major?
Posts: 115
Threads: 680
Joined: May 2003
I have an I.T. degree but I only did the required programming courses, which was two.
Posts: 23
Threads: 372
Joined: Jun 2004
Hate: Rolling out of fucking bed at 12:30 and feeling absolutely horrible.
[SIGPIC][/SIGPIC]
Fighting to the bitter end is an advantage when your opponent does not wish to perish.
Posts: 3
Threads: 26
Joined: Apr 2009
Hate being so close but not there.
Posts: 62
Threads: 370
Joined: Oct 2001
Vad Wrote:Hate: Rolling out of fucking bed at 12:30 and feeling absolutely horrible.
I'm very blurry eyed. So I just woke up, and was rubbing my eyes while reading this. "Hate: Rolling out fucking the bed at 12:30 and feeling absolutely horrible".
Posts: 23
Threads: 372
Joined: Jun 2004
xD
<3
[SIGPIC][/SIGPIC]
Fighting to the bitter end is an advantage when your opponent does not wish to perish.
Posts: 0
Threads: 112
Joined: Sep 2006
I heat up a shitload chicken things and fishsticks, and then my aunt bursts into the kitchen to eat a boiled egg, so then I'm forced to give the fishsticks to my grandfather so it doesn't look like im being a hugo pig, then she asks for one of the chicken things (one of the big ones), then dips said half bitten chicken thing into a barbecue cup I made, now I'm sitting here with half the food I initially set out to eat, and a bbq cup that is going unutilized thanks to Dippy McGermstein.
fml
Quote: "for a quarter million a year growing weed, i'd fucking be gay. with dick on the side." - Laura, on mairjuana
Posts: 18
Threads: 366
Joined: Jan 2006
XD!!!
Vad: Found my dicks btw
Vad: *DISCS
Kaz: XD!!!!XDXDXD!!
Kaz: oh man
Kaz: that was an awesome typo!
Vad: I MEANT ROUND CYLINDRICAL THINGS
Kaz: XD XD XD
Kaz: HAHAHHHAHHHAHA
Posts: 1
Threads: 101
Joined: Apr 2007
must be hard being a black man living in a white man's world, pretending to be a white man in a crazy jappy magic land filled with dragons and phallic energy beams.
freud would have spent his entire life studying you.
Posts: 61
Threads: 398
Joined: Oct 2005
I always think I've got my hate capacity for you maxed out, then you go and surprise me.
Bra Wrote:People are dumb, essentially.
Posts: 1
Threads: 101
Joined: Apr 2007
Posts: 0
Threads: 114
Joined: Jun 2007
Bil Baer Jaxx Wrote:I heat up a shitload chicken things and fishsticks, and then my aunt bursts into the kitchen to eat a boiled egg, so then I'm forced to give the fishsticks to my grandfather so it doesn't look like im being a hugo pig, then she asks for one of the chicken things (one of the big ones), then dips said half bitten chicken thing into a barbecue cup I made, now I'm sitting here with half the food I initially set out to eat, and a bbq cup that is going unutilized thanks to Dippy McGermstein.
fml
They did a test on Mythbusters about double dipping, seems it's fine and there are probably more germs in your BBQ sauce then in Mrs. McGermstein's mouth.
Sucks about the food though. D:
Posts: 61
Threads: 398
Joined: Oct 2005
08-08-2009, 10:50 PM
(This post was last modified: 08-08-2009, 10:50 PM by Super Buu.)
rod hardwood Wrote:who are you?
I'M BATMAN
fuck you caps-lock-stop >=o
Bra Wrote:People are dumb, essentially.
Posts: 0
Threads: 114
Joined: Jun 2007
rose Wrote:i'm batman
fuck you caps-lock-stop >=o
FUCK U I'M BATMAN
>=o
Posts: 0
Threads: 112
Joined: Sep 2006
Josh Wrote:They did a test on Mythbusters about double dipping, seems it's fine and there are probably more germs in your BBQ sauce then in Mrs. McGermstein's mouth.
Really? I kind of figured it was fine, the phobia is just mainly about eating even a molecule of someone elses spit.
Quote: "for a quarter million a year growing weed, i'd fucking be gay. with dick on the side." - Laura, on mairjuana
Posts: 0
Threads: 114
Joined: Jun 2007
Bil Baer Jaxx Wrote:Really? I kind of figured it was fine, the phobia is just mainly about eating even a molecule of someone elses spit.
I wouldn't worry about that, just talking to her has exposed you to all sorts of aerosol spit lovelies.
Posts: 1
Threads: 101
Joined: Apr 2007
08-08-2009, 11:03 PM
(This post was last modified: 08-08-2009, 11:04 PM by Pinky.)
Rose Wrote:I'M BATMAN
fuck you caps-lock-stop >=o eh. that doesn't address the weirdness of someone i don't ever talk to and don't know claiming they hate me. i guess that's the glory of the internet, though
and yeah, josh is batman. he has the suit in his closest, i've seen pics of it.
Posts: 61
Threads: 398
Joined: Oct 2005
08-08-2009, 11:06 PM
(This post was last modified: 08-08-2009, 11:11 PM by Super Buu.)
You've never thought someone you saw on TV was stupid? =o
And since we're on the subject of Batman, love: Harley Quinn and Poison Ivy cosplayers.
Bra Wrote:People are dumb, essentially.
|