OiO.lk Blog PHP Using jquery and a PHP variable causes a syntax error
PHP

Using jquery and a PHP variable causes a syntax error


Can anyone see what is wrong with this line of code, I ask because it’s giving an syntax error but it does not say what.

var todate = <?php echo json_encode($TodaysDate); ?>;



You need to sign in to view this answers

Exit mobile version