hello and thank you for reviewing my question, the code below demonstrates an echo command printing html code - the problem i'm having is that the form action does not call the same pages as it should, Instead i'm getting an error with my webhost. Can someone correct my syntax? (as you can see ive tried to escape all the quotes which works except for the action attribute - i only get an error when the form attempts to execute the action).
echo "
<form name=\"CartUpdateForm\" id=\"CartUpdateForm\" method=\"post\" action=\"<?php echo htmlspecialchars(\$_SERVER[\"PHP_SELF\"]); ?>\">
<input name=\"SCUpdateBut\" id=\"SCUpdateBut\" type=\"submit\" value=\"Update\">
<input name=\"SCRemoveBut\" id=\"SCRemoveBut\" type=\"submit\" value=\"Remove\">
</form> ";