Posted by Johannes Wienke on 02/05/06 23:19
Hi,
Am 05.02.2006 21:44 schrieb Leszek:
> Hi
> I have a problem while inserting php code into javascript
>
> var danevar1 = '<?php echo $dane1; ?>';
>
> this line doesn't work
> i tried also:
> var danevar1 = '<? echo $dane1; ?>';
>
> but it's not working
When you open that file in your browser and take a look at the source
code: what did PHP write for your echos?
Navigation:
[Reply to this message]
|