Reply to Re: [PHP] Why this doesn't work ?

Your name:

Reply:


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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация