Answer the question
In order to leave comments, you need to log in
How to make a form for checking the balance of a bonus card?
The site requires a simple form for checking the balance of a bonus card.
The client enters the card number and last name and receives the balance of the card as a result.
In the constructor of our cms (ancient internet.cms) there is no way to create such a form. I don't have the skills to write them by hand.
Please advise the simplest solution to this problem.
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
The easiest solution is to hire someone who can.
A couple of hours to deal with cms, 20 minutes to make a form.
Well, if I write to you:
// count - столбец с номерами счетов, client - таблица клиентов
$query = "SELECT count FROM client";
$stmt = $db->prepare($query);
$stmt->execute();
$ArrLink = $stmt->fetchAll(PDO::FETCH_ASSOC);
echo "$ArrLink[$i]['count']"; // тут $i номер счёта клиента
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question