Windows10-64bit,version-3.0.6,apache-2.4.23,php-5.6.25,mysql-5.7.14,icon-green,127.0.0.1 localhost ::1 localhost,localhost-yes,8a-no,9-yes,Avira,c:/wamp64.
I have two forms, form one does an insert then redirects to form two which does an update and an insert. The insert in form one and update in form two are queries on the same table. The insert on form two (a different table) can only execute if the update is successful (returns true). The insert on form one works, and the insert on form two works(data displays). This implies that the update on form two works, but no data from the update displays in the updated table. If execute() returns true, it must have executed successfully, so why no data?. I checked using mysql console and confirmed the updated data is not appearing in the table (I checked this to eliminate the possibility of the data being entered in to table, but phpmyadmin somehow not displaying it). Any ideas on how to troubleshoot this?
I have two forms, form one does an insert then redirects to form two which does an update and an insert. The insert in form one and update in form two are queries on the same table. The insert on form two (a different table) can only execute if the update is successful (returns true). The insert on form one works, and the insert on form two works(data displays). This implies that the update on form two works, but no data from the update displays in the updated table. If execute() returns true, it must have executed successfully, so why no data?. I checked using mysql console and confirmed the updated data is not appearing in the table (I checked this to eliminate the possibility of the data being entered in to table, but phpmyadmin somehow not displaying it). Any ideas on how to troubleshoot this?