alert a php variable
snippet in php

alert a php variable

user6475

echo '<script type="text/javascript">alert("'.$error.'");</script>';