or so I thought!
Can anyone tell the correct syntax for the following?
php:
$row = mysql_fetch_row($check_result);
$current_ticket_total = $row[11];
$new_ticket_total = $confirm_tickets + $current_ticket_total;
Basically, the $confirm_tickets is generated from a form, then the email address is validated in the database, and the total number of tickets they have ordered previously, should be added to the $confirm_tickets and the row in the database updated.
However, the $confirm_tickets total is always used and replaces the $new_ticket_total in the database so both columns display the same!