I need access to variables both in php and the page's javascript -


i working on php/javascript web application must perform many calculations using many values input user. there several pages of inputs, , calculations using values input on previous pages everywhere.

i have been passing entered values between pages using $_post, , storing them use in serialized class saved $_session variable. 1 obvious way pass values php page use javascript populate page hidden form elements. javascript use data , modify necessary, pass values via post.

i may have many such hidden elements, , can't think way slow down pages. there better way store data between pages? cookies?

thanks! sh

search ajax in google. it's technic helps javascript communicate php. first hard learn syntax watching videos youtube fine.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -