As for your first question, I'm not sure I understand what you're asking. Are you just trying to see if a form was POST'ed, or if a specific form was POST'ed, or... ?
op2rules wrote:Which is best?
Well, the first line has parse errors, so I definitely wouldn't go with that one.
The second one is a bit messy, what with the escaping of the quotes and concatenation and all... you could write it a bit more simply as:
echo "URL : <a href='$row[url]'>$row[url]</a><br>";
And finally, in the third one you don't need to escape the double quotes. In fact, by doing so, you actually output a literal backslash, which will break the HTML.
In other words, the second line you posted is the only one that's correct/without errors, so... I guess I'd pick that one if I had no other choices. :p