0
Well that’s a very crude question (I know), but I don’t know how to pass the data to another program in php! Where I use:
<?
print("<script language=javascript>
alert(\"Dados alterados !!\");
location.replace("../sai_cada/sai_frm_alte.php?$e_per+$e_cont);
</script>");
?>
I want to pass the $e_per
and the $e_cont
for the program sai_frm_alte
, but I don’t know how the passage should look in php!
And one more .. As I’m going through them with the $
How am I supposed to pick up on the next show?
Currently I use the :
$w_tx_nota = $_GET['w_tx_nota'];
That would be the right way?
Yes.
sai_cada/sai_frm_alte.php?nome_var=$e_per&nome_var=$e_cont
– Franchesco
I think they’re doing the same homework :D
– Jorge B.
No @Jorgeb. because in this he did not solve my problem !
– Alexandre
This answer: http://answall.com/a/31948/7210 does not solve your problem?
– Jorge B.
No, because in his case, he wanted to pass directly using javascript having some checks' so in my case just want to determine such parameters'
– Alexandre
I do not understand the difference. Just remove the checks. The rest is equal.
– Jorge B.
"Would that be the right way?" Yes, you’re passing data through the URL, so you use it GET. Your URL must be:
"../sai_cada/sai_frm_alte.php?e_per=$e_per&e_cont=$e_cont
and recover with:$_GET['e_per']
or$_GET['e_cont']
– Papa Charlie