Re: Why this doesn't work ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxx
http://www.informed-sources.com


On 5/24/05 8:24 AM, "Mário Gamito" <lists@xxxxxxxxxxx> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux