Make a public account and submit a php webpage post form. The following is the drop-down list in the form & quot; The following is the obtained $ CateID $ _ POST [& #39; CateID & #39;]; $ add & quot; INSERTINTOtPayments (PaymentTime, CateID, PaymentDetail, PaymentNum, PaymentNo, ModiTime) VALUES (& #39; $ PaymentTime & #39;, & #39; $ CateID & #39;, & #39; $ PaymentDetail & #39;, & php
Make a public account and submit a php webpage post form. The following is a drop-down list in the form.
The following figure shows the obtained $ CateID =$ _ POST ['cateid']; $ add = "insert into tPayments (PaymentTime, CateID, PaymentDetail, PaymentNum, PaymentNo, ModiTime) VALUES ('$ paymenttime',' $ cateid', '$ PaymentDetail', '$ PaymentNum', '$ PaymentNo', now () "; mysql_query ($ add ); echo "$ CateID ";
The output on the page is an "Array", but in a computer browser, the output is a value.