Mega,
A) No need to bring the Lord into this.
😎 Yes, I've read tutorials, but isn't the point of a forum so that veterans can help newbies, and possibly newbies help veterans? I realize it is a simple question, but what is simple to you, ain't so simple to someone new at this.
C) I've entered the code exactly as you had, and guess what - it still returns a blank page. Any ideas, vet?
Here is my form submit buttons:
<TD WIDTH="375" ALIGN="RIGHT"><INPUT TYPE="IMAGE" SRC="images/admin/admin_submit_submit.gif" WIDTH="100" HEIGHT="23" BORDER="0" NAME="cmd" VALUE="edit_category"></TD>
<TD WIDTH="374" ALIGN="LEFT"><INPUT TYPE="IMAGE" SRC="images/admin/admin_submit_submit.gif" WIDTH="100" HEIGHT="23" BORDER="0" NAME="cmd" VALUE="delete_category"></A></TD>
Here is the script processing code, which still returns a blank browser:
<?
require_once("sc_fns.php");
if( $HTTP_POST_VARS['cmd'] == 'edit_category' ) {
echo 'good';
}
elseif( $HTTP_POST_VARS['cmd'] == 'delete_category' ) {
echo 'delete';
}
?>