What is [op] in the title? I'm new to php, but op should be a fieldname and the code I took that from is not a fieldname as far as I can tell.
op refers to a field of a form. When this form submits data to your script, $_POST['op'] stores the content of the field named op. * okay... too late sorry pluswebdev
You guys are right. I guess I didn't try hard enough to find it in the code. Sorry to have wasted your time.
never mind @robca you do not need to put the " or ', because every unknown text will be automatically parsed into a string. It's not a good idea to get used to it though, because on some systems the interpreter puts a warning message. And it can lead to other unexpected / unwanted results... so better use the quotation marks