Hi
Since you are already using PHP then PHP would be your best bet.
I found some PHP tutorials on this page:
http://www.tutorialized.com/tutorials/PHP/66
I haven't tried them myself but it might be worth looking at the
Database tutorials so you can get started. I know you don't want to
re-write your JavaScript code into another language but if you've got
the logic already worked out then it shouldn't be too difficult to
change it to PHP. The logic is where the real work goes into it so
you're already more than half way there if you re-write anyway. I've had
a go at converting JavaScript to PHP and all I really did was substitute
some of the syntax and maybe change a few functions.
Have fun
Peter Mount
info (AT) petermount (DOT) au.com
Chris Storey wrote:
Quote:
Hi
I have some pages which perform Javascript calculations etc. and end up
with a number in a box at the bottom of a page. The pages themselves are
PHP, but with Javascripts embedded in them.
How can I get the results of these calculations (which are in text
boxes), and place them into a mysql database?I gather that it may not be
possible to do this directly, but is there any way around it? I dont
want to have to rewrite the scripts in another language!
Cheers
Chris |