Hello,
I am writing my first website using PHP/MYsql.
I bought some PHP templates to help (from SoftVelocity).
Basically, so far, my application first pulls up a table of key values
from the DB. This 'key' value is basically a component of the key for
each of the 'child' tables.
I click on one of the parent keys in the table and save it's value in
$my_contnum, and move to a page that has a form for entering in a
'child' key value. Some how, $my_contnum gets 'zeroed out'.
When I post to add the child key to its table, the value for
$my_contnum is 0.
My question : shouldn't a $variable to good for the whole session,
across pages.
There is a lot of extraneous code generated by the template, and I may
be missing something, but I can't see where it is being reset.
TIA for any ideas or suggestions!
J