Methods and detailed steps are as follows:
1, the first step, a new PHP file, see below, go to the following step.
2, the second step, after performing the above operation, you need to declare the array variable, see the following figure, go to the following step.
3, the third step, after performing the above operations, use the function to connect the array to the string with the connecting character, see the figure below, go to the following step.
4, the fourth step, after performing the above operations, the output of the connected string, see below, go to the following step.
5, step 5, after performing the above operations, the preview of the effect of the following figure, go to the following step.
6, step 6, after the above operations, use the "implode" function to splice the array into a string, using "?" to connect, see the figure below. In this way, the problem is solved.