Check and find that post is empty. how should I write a newbie? I just learned it for two days and stuck it in many places? it's hard to find various types of code. I am stuck here for help now.
Print test
Display:
Reply to discussion (solution)
You didn't see any submit.
You can add print_r ($ _ POST); to see if there is any post
You didn't see any submit.
You can add print_r ($ _ POST); to see if there is any post
I have a submit following Line 29. I used print_r ($ _ POST) to view the empty Array.
$ _ POST will not be blank after submission
But $ _ POST ['id'] only uses one and is the last $ row ['id']
This is obviously incorrect.
$ _ POST will not be blank after submission
But $ _ POST ['id'] only uses one and is the last $ row ['id']
This is obviously incorrect.
Moderator
How should I write an ID for each row for subsequent location and deletion?
If you want to delete a table by submitting a form, each row (tr) should have a form (form)
Forms enclosed in the outside are not required.
Action =" "
Submitted to this page. you can skip this step.
After this submission, $ _ POST ['id'] is the id to be deleted.
If you want to delete a table by submitting a form, each row (tr) should have a form (form)
Forms enclosed in the outside are not required.
Action =" "
Submitted to this page. you can skip this step.
After this submission, $ _ POST ['id'] is the id to be deleted.
Print test
Display:
Click here to add information
After I changed it, the echo post is still empty. why?
Have you clicked the delete button?
Paste html in the browser
Print test
Display:
Click here to add information
1 Array ()
Have you clicked the delete button?
Paste html in the browser
Have you clicked the delete button?
Paste html in the browser
Got the den trick.
The value of the 30 rows is incorrect.
Thank you for your help!
Have you clicked the delete button?
Paste html in the browser
The previous error is only one.
What I wrote in the database is objid $ row. The id is incorrect.
After the value is changed, the value is obtained. but why is post still null?
Print test
Display:
Click here to add information
1 Array ()
You mean
Click here to add information
1 Array
(
)
Is this empty?
Here, you need to submit (click the delete button) before the value is available!
Have you clicked the delete button?
Paste html in the browser
The previous error is only one.
What I wrote in the database is objid $ row. The id is incorrect.
After the value is changed, the value is obtained. but why is post still null?
Print test
Display:
Click here to add information
1 Array ()
Yes. you can still put it in the form while...
You mean
Click here to add information
1 Array
(
)
Is this empty?
Here, you need to submit (click the delete button) before the value is available!
After clicking delete, the post value is found.
Thank you!
Have you clicked the delete button?
Paste html in the browser
The previous error is only one.
What I wrote in the database is objid $ row. The id is incorrect.
After the value is changed, the value is obtained. but why is post still null?
Print test
Display:
Click here to add information
1 Array ()
Yes. you can still put it in the form while...
Is it true to put it in it?
Have you clicked the delete button?
Paste html in the browser
The previous error is only one.
What I wrote in the database is objid $ row. The id is incorrect.
After the value is changed, the value is obtained. but why is post still null?
Print test
Display:
Click here to add information
1 Array ()
Yes. you can still put it in the form while...
Is it true to put it in it?
So many forms are not awkward...
You can use the check box to select data for the user. the check box is named lst []. all check boxes are called this, and the value is $ row [id]. then, click a button to submit the data to the deletion interface. php receives the lst and obtains all the selected data.
And the form action can be blank if it is submitted to the current page.