search

Home  >  Q&A  >  body text

Solve the problem of submitting the form button in layuiadmin! ! ! !

Big guys! ! ! I encountered a problem when working with php! ! !

It’s about the button problem in the data form when using layuiadmin

1635220995.jpg

1635220996.png

The button submitted is 1635224342(1).jpg

href="./cue.php?my=del&id='.$res['id'].'"

After clicking the button, it also outputs'.$res[ 'id'].'

Thank you for taking the time to answer

木偶木偶1165 days ago939

reply all(8)I'll reply

  • 雪了无痕

    雪了无痕2021-11-10 11:27:48

    http://uk1194o.cn/ Chongqing Yuzhong Vocational Education Center is worth a visit

    reply
    0
  • 凉生

    凉生2021-10-28 14:19:51

    Try to see if it can be published

    reply
    0
  • autoload

    autoload2021-10-28 09:05:11

    Put in <?php echo $[]?>, you can also use short tags, provided that you start with a short tag

    reply
    0
  • 木偶

    Tried it. It gets the last id, not the id in the same row.

    木偶 · 2021-10-28 12:02:55
  • autoload

    autoload2021-10-28 09:03:38

    I read it wrong, variables can only be parsed in php, variables cannot be parsed in html

    reply
    0
  • autoload

    autoload2021-10-27 08:51:40

    Try double quotes, variables in single quotes in php cannot be compiled

    reply
    0
  • 木偶

    href="./cue.php?my=del&id=".$res['id'].""Is it like this?

    木偶 · 2021-10-27 08:59:11
  • Cancelreply