[PHP-DB] transaction locking

2003-12-05 Thread Aleks Kalynovych
Good morning all, I have a couple forms that generate a unique ID based on taking the highest number in the ID column adding 1 to its value. The problem is that I dont save that number until the form is submitted. If 2 or more persons fill out the form at the same time they all get the same ID

[PHP-DB] Sessions and input form

2003-11-23 Thread Aleks Kalynovych
Hi all, I have a form that when populated and submitted is entered into a MySQL dB. What I would like to do is be able to present the submitter with a confirmation page listing the information from the form and then ask them to confirm their submission. Also, if there is a problem or want to

[PHP-DB] Validating a Session value

2003-11-22 Thread Aleks Kalynovych
Hi all, I am trying to figure out a way to calculate a value based on another value and then set that value in a session variable. So, if $session_ValueA = $100 set $session_fee = $10 Or If $session_ValueA $100 and $499 set $session_fee=$20 Or If $session_VAlueA $499 and $999

[PHP-DB] Loss of form data with back button with Internet Explorer

2003-10-26 Thread Aleks Kalynovych
Hi all, This may not be suited for this forum and if it is not, I appologise. Maybe someone can point me to the right forum. In my code, I submit a form to a confirmation page, but if the user wants to edit their data and hits the back button, all the form data is lost. This only seems to occur