1
I want to catch the variável
of vetor
that I believe in the JS
and store its contents in one of the PHP
.
<?php
print("<SCRIPT language=javascript>
vetor_dados[$cont] ="text";
</SCRIPT>");
$conteudo = vetor_dados;
?>
As I should?
Obs: The way to use the, ex:
<script type="text/javascript">
var x = 'valor';
</script>
<?php
$x = "<script>document.write(x)</script>";
echo $x;
?>
Causes the $x
show <script>document.write(x)</script>
and not the content of JS
;
Image of how it appears as above:
I mean @Peter, it’s not possible to run that way?
– Alexandre