Variable formatting problem using sessions...

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

 



I'm using an "OnClick" routine to set a session variable before I go
to another page.

onClick=<?php $_SESSION['local_part']= 'rick'; ?>   works fine but I
need a variable where "rick" is

I've tried

onClick=<?php $_SESSION['local_part']= $local_part; ?>

and other variations but it doesn't work.

Can anybody tell me what the proper formatting is to get this to
resolve correctly?

Thanks

Rick

-- 
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