Php get $ _ GET [gsid] value problem $ numdog cannot GET $ _ GET [gsid] value, always equal to initialization 1. if you do not initialize, it also reports an error, undefined variables. For guidance, the value of the editing page is a problem.
Reply to discussion (solution)
How did you write your form?
It is necessary to output at the beginning of the code to see what the page has submitted.
Print_r ($ _ GET );
Print_r ($ _ POST );
If you do not want to see the error prompt, add
Error_reporting (E_ALL ^ E_NOTICE );
No problem with the code. the gsid cannot be obtained. is it from POST,
Can you get the value in this way.
$ _ REQUEST ['gsid ']
In addition, if the gsid is a number, we recommend that you use intval ($ _ REQUEST ['gsid.
If an error is found, you must add a parameter such as action = "dogdo. php? Id = 5 ". thank you for your enthusiastic discussion!