dialog box result

hello guys im working on my case study, i am a student and new in php.

im confuse on how to get the result from a dialog box using php.

here is my code:

<input type="submit" name="submit" value="Enroll" onClick="return confirm('Are you sure you want to enroll?')" />

all your replies will be appreciated.
thanks for the www.phphelp.com community :slight_smile:

This is a javascript question not PHP

See: http://www.w3schools.com/js/js_popup.asp

Sponsor our Newsletter | Privacy Policy | Terms of Service