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

Reply via email to