[FX.php List] Pulling a Javascript variable into a PHP variable?
Derrick Fogle
derrick at fogles.net
Tue Mar 11 19:27:57 MDT 2008
Not without a trip to the server; Javascript is only in the browser,
PHP is only on the server. You've got to use Javascript to submit the
value, then have PHP pick up the value from the submit.
On Mar 11, 2008, at 8:23 PM, Bob Patin wrote:
> I have a Javascript variable "j" that I want to put into a PHP
> variable; is this doable?
>
> I tried this:
>
> <?php
> $image_counter = j;
> ?>
>
> but of course that didn't work...
>
> Thanks,
>
> Bob Patin
> Longterm Solutions
> bob at longtermsolutions.com
> 615-333-6858
> http://www.longtermsolutions.com
> Member of FileMaker Business Alliance and FileMaker TechNet
>
> CONTACT US VIA INSTANT MESSAGING:
> AIM or iChat: longterm1954
> Yahoo: longterm_solutions
> MSN: tech at longtermsolutions.com
> ICQ: 159333060
>
> --------------------------
> Contact us for FileMaker hosting and programming for all versions of
> FileMaker
> PHP • CDML • Full email services • Free DNS hosting • Colocation •
> Consulting
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
More information about the FX.php_List
mailing list