|
Posted by "Rahul S. Johari" on 05/24/05 17:19
Ave,
I tried:
<form><input type="text" name="email"><INPUT type="submit" value="SUbmit"
name="Submit"></form>
<?php
if($Submit) {
echo"
<script language=\"JavaScript\">
window.location=\"delete.php?email=$email\"
</script>";
}
?>
In a simple page. It worked absolutely fine... The value of $email was
passed along to delete.php
I don't think there's something wrong with your code below.. There might be
some other reason affecting the transfer of the $email variable value.
Rahul S. Johari
Coordinator, Internet & Administration
Informed Marketing Services Inc.
251 River Street
Troy, NY 12180
Tel: (518) 266-0909 x154
Fax: (518) 266-0909
Email: rahul@informed-sources.com
http://www.informed-sources.com
On 5/24/05 8:24 AM, "Mário Gamito" <lists@tuxdoit.com> wrote:
> Hi,
>
> Hi have this bit of code:
>
> -----------------------------------------------------
> echo"
> <script language=\"JavaScript\">
> window.location=\"valid_cv_insert.php?email=$email\"
> </script>";
> -----------------------------------------------------
>
> but when passing to file valid_cv_insert.php, $email value doesn't go along.
> The page that has this code "knows" tha value of $email variable.
>
> How can i turn this around ?
>
> Thanking you in advance.
>
> Warm regards,
> Mário Gamito
[Back to original message]
|