Question: iii.Store booking reference in the database Modify tma 0 2 _ save - row.php to add the data from the booking reference field to the
iii.Store booking reference in the database
Modify tmasaverow.php to add the data from the booking reference field to the database.
marks
Look carefully at how the other data elements are added to the database and reflect that for the booking reference field.
Note carefully that tmasaverow.php handles two distinct situations: one when the record has been edited and the other when the record is new. Here, we are only considering a new record and you need to update only that part, leaving the other unchanged.
Add the following two entries:
Table : Data to add to database
First name Last name Email Booking reference
Zinolla Zanda zzanda@zinc.acuk ONL
Zeua Avrenim zeua.avrenim@zmail.acuk EGH
If you have created any other records when testing, they should be removed prior to adding the two entries above. The quickest way to clear the test data is to drop and recreate the table using tablemanager.php
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
