I have a form on which I am having submit button. On submit it pops a alert box that informs about the data to be submitted. I want to show php variables on that for information(alert box) but not getting it. I have the code down here and seeking for some solution. Any help will be appreciated.

```
 <form class="form-horizontal" method="post" action="" onsubmit="return confirm('You have created a new batch' + <?php echo $rpp_regn_prescribed_startdate_new1;?> +'. Click OK to confirm or you can ignore by clicking Cancel.');">

```