Y
Y
Yuri Elmanov2016-02-04 01:38:36
PHP
Yuri Elmanov, 2016-02-04 01:38:36

How to pass id variable to handler in other file?

Hello everyone, such a question
How to pass a variable from a link to a handler in another file, and who can tell what is wrong with the code?
The first screen is where the link is located, 2 is the handler for deletion2fe170f67247442cac9a203243d7dd4f.PNG6530d71177cf417f9f785117c35f6edc.PNG

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nikita Souvel, 2016-02-04
@Elmanovyurik

Alternatively, you can use $GLOBALS['varname'] = ...
this is your variable both there and there.

A
Anton Babilya, 2016-02-04
@lordonx3

What a disgusting code.
Check out the OOP tutorials from LoftBlog

W
wol_fi, 2016-02-04
@wol_fi

drop the lessons of this Mr. Shit , he teaches bad things, honestly.
by subject - on the first screen, in the Delete link you are missing part of the path (/admin/)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question