Hi tiki,
you seem to have a couple of problems with your code...
1st - <form mehtod=post action=$php_self>
should be method
😉
You have several more spelling mistakes that doesn't help the browser - vaule
You seem to be making things complicated for yourself with if/else statements checking for things that must happen...
eg
if ($op != "ds") {
echo "$form_block";
} else if ($op == "ds"){
If it's not 'ds' then you don't need to check that it is in the else part.
Fix these things then give it a go...
good luck