I apologize - javascript. Jeff "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You can still use onclick event to pass value kept in a javascript variable: > > <a href="file.php?" onclick="return action('file.php')"> > > function action(url) { > location.href='http://www.domain.net/' + url + '&var=' + javascript_var; > return false; > } > > Jeff Bluemel wrote: > > >it's easy enough to pass php variable to javascript, but doing this the > >other way around without a form submit, or location (passing as a php $_GET > >variable) seems to be a little nightmare. it's easy enough to do it with > >the form submit, or a location command. > > > >thanks, > > > >Jeff > > > > > > > > > > >
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php