Re: Is There No Hope At All???
| From: | Marko Vukovic' | Date: | Thu, 24 Aug 2000 13:06:17 +0000 |
| Subject: | Re: Is There No Hope At All??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-13380@lists.php.net to get a copy of this message | ||
Herman Tolentino MD wrote:
>
> have PHP parse the variables first then pass it on to the javascript
> function...
> try this:
> $url_param = "Your_Horse.php3?name=<? echo
> $namee; ?>&color=<? echo $coloree; ?>&gender=<? echo $genderee;
> ?>&price=<? echo
> $pricee; ?>&birth=<? echo $birthee; ?>&performance_one=<? echo
> $performance_onee; ?>&performance_more=<? echo
> $performance_moree; ?>&height=<?
> echo $heightee; ?>&description=<? echo $descriptionee;
> ?>";
or perhaps one better: $url_param = "Your_Horse.php3?name=" . $namee .
"&color=" . $coloree etc...etc... ;
>
> then call:
> Click <a
> href="javascript:horseWindow(\"".$url_param."\")">here</a>
>
> <script language="javascript1.1">
> function horseWindow(url_param) {
> newWindow =
> window.open(url_param,"","toolbar=1,menubar=0,width=800,height=600,scrollbar
> s= 1,status=0,location=0,directories=0,left=0,top=0");
> }
> </script>
--
Marko