I really like option 2 better
You're right, that's not true. What's true is I like option 1 and I'm a big spaz.
Do you have problems, concerns or recommendations about the technical side of the Phoenix? Air them here. Compliments also welcome.
I really like option 2 better
You're right, that's not true. What's true is I like option 1 and I'm a big spaz.
I think the relevant question is which is easier to code.
This may not be at all relevant, but I'm curious: how come, when you forget the last " in an a href thingie (which I just did), it messes up the way the page displays, but if you use a ' instead, it breaks everything?
Just not allowing the post would a be a bit easier. But since it is John's preference and John is doing the coding that is not a determining option.
In both cases, the link HREF contains everything up to the next whatever-it-is.
So the page where you put HREF=" and fail to close it will be missing everything up to the next double-quote and bracket, and the page where you put HREF=' and fail to close it will be missing everything up to the next single-quote and bracket.
I don't know why one should be worse than the other though, just a matter of where Jon's use single and where he's used double quotes.
John's doing the coding? Yay!
This may not be at all relevant, but I'm curious: how come, when you forget the last " in an a href thingie (which I just did), it messes up the way the page displays, but if you use a ' instead, it breaks everything?
I think that the post that broke everything had a ' instead of a " for the first quote, not the last one.
John is doing the coding
Ooh, am I? Scary. I'm just kind of sketching out code, I'm not necessarily thinking I'll be coding the whole interface thing. I just kind of started playing with it because it's a regular-expression type thing.
I was imagining that, like with quick-edit, I'd give ita a chunk of code to insert into the main body of the Board.
I don't know why one should be worse than the other though, just a matter of where Jon's use single and where he's used double quotes.
Double quotes appear more often than single quotes, so using a single quote to start a link and not closing it properly is likely to affect more of the page than if you start a link with a double-quote and don't close it properly.
Hey, anyone, what's the correct way to get the last item of an array in PHP? I can't seem to see it in the online manual -- should I just use
$array_name[count($array_name)]or what? It looks clunky.