есть форма в pug надо отправить ее в базу данных mysql. столбцы базыц аналогичны названию полей
html
head
title= "Input Phone"
body
h1= "Add"
form(action="/new_movie" method="POST")
p name:
input(type="text" name="name" placeholder="")
p prod:
input(type="text" name="prod" placeholder="")
p sim:
input(type="text" name="sim" placeholder="")
p display:
input(type="text" name="display" placeholder="")
p razresh:
input(type="text" name="razresh" placeholder="")
p acum:
input(type="text" name="acum" placeholder="")
p proc:
input(type="text" name="proc" placeholder="")
p oper:
input(type="text" name="oper" placeholder="")
p sd:
input(type="text" name="sd" placeholder="")
p cam:
input(type="text" name="cam" placeholder="")
p gps:
input(type="text" name="gps" placeholder="")
p description:
input(type="text" name="description" placeholder="")
p giroscope:
input(type="text" name="giroscope" placeholder="")
p payment:
input(type="text" name="payment" placeholder="")
input(type="submit")