![]() |
Using PHP variables in a Javascript function
I am trying to add a PHP variable $i, into a form element using a Javascript function, however this doesnt seem to be working at all, does anyone have any ideas why this may be? I am a novice coder so it may be something obvious. Any help please?
My code is: HTML Code:
<script type="text/javascript"> |
Re: Using PHP variables in a Javascript function
Instead do like this:
PHP Code:
|
| All times are GMT +5.5. The time now is 01:11. |