How to make multiple submit buttons toggle with PHP

Bobay

New Member
My newbie question of the day is....I have a comment function on my site that I have 3 versions of for the same page. I have one that has specific traits for A. signed in and looking at own profile B. signed in looking at someone elses profile C. Not signed in at allI have it working just great depending on what criteria the user falls under. I have a submit button that sends one of these formats, so my question is, how do I toggle (in this case two,because C. does not require a button) two different buttons for the same if(isset chunk?Here is what I am wanting to add onto/alter:\[code\]if(isset($_POST['commentProfileSubmit']) && $auth) {\[/code\]
 
Back
Top